Commit Graph

5798 Commits

Author SHA1 Message Date
Brad Leege
a48a5ee161 #2784 - Restoring API minimum to 15 for TestApp 2015-10-24 21:55:18 -05:00
Brad Leege
17d9461bfb #2784 - Restoring API minimum to 15 2015-10-24 21:51:28 -05:00
Leith Bade
39911e581c [android] Move android files
Fixes #2032
2015-10-25 01:07:16 +11:00
Leith Bade
d2e01290eb [android] Remove the WRITE_EXTERNAL_STORAGE permission from test app
Fixes #2655
2015-10-25 00:01:18 +11:00
Leith Bade
77b0e240a3 [android] [ios] [linux] [osx] Update many mason modules 2015-10-24 19:33:42 +11:00
Leith Bade
6c71e12963 [android] Use ViewCompat in CompassView for pre-Jelly Bean animation 2015-10-24 18:54:31 +11:00
Leith Bade
e3517641d8 [android] Fix TEXTREL dlopen error on Android 6.0 x86
Update libcurl to 7.45.0 and OpenSSL to 1.0.1p
Fixes #2772
2015-10-24 14:50:00 +11:00
Justin R. Miller
847cee0c89 re-bump for ios-v3.0.0-pre.2 2015-10-23 16:33:37 -07:00
Justin R. Miller
cf46b2f770 bump iOS version for 2.2.0-pre.2 2015-10-23 16:08:34 -07:00
John Firebaugh
ffb02d1b83 Optimize Travis build order: start osx builds first
Travis seems to queue jobs in the order listed in .travis.yml, so put the
slower jobs first in an attempt to reduce the overall time for a build.
2015-10-23 15:41:10 -07:00
John Firebaugh
a243f41cb4 [iOS] Don't build iOS on Travis, it's too slow 2015-10-23 15:17:59 -07:00
Bruno de Oliveira Abinader
b8c94e76c2 Fixed typo in default styles 2015-10-23 15:09:08 -07:00
Justin R. Miller
144a4714f0 refs #2684: integrate Twitter Fabric 2015-10-23 14:13:56 -07:00
John Firebaugh
8d79c25765 [core] Remove MapData dependency from StyleParser
MapData was needed for two things: getting the default transition and
fade durations, and detecting still rendering vs. continuous.

The first is avoided by making transition durations optional, and
supplying the default fallback value at evaluation time. The second did
not fix the still rendering issue, and will be followed up with a
different approach in a later commit.
2015-10-23 13:56:55 -07:00
John Firebaugh
0665b64590 [core] Introduce StyleCalculationParameters
This makes subsequent changes to the the parameter list less intrusive.
2015-10-23 13:56:55 -07:00
John Firebaugh
7a03d734fd [core] Respect source layer z-order for style-sourced annotations 2015-10-23 13:27:14 -07:00
Minh Nguyễn
930c624364 [publish ios-v3.0.0-pre.1] 2015-10-23 12:40:19 -07:00
Minh Nguyễn
c82991e74c Bumped podspec for 3.0.0-pre.1 2015-10-23 12:38:01 -07:00
Bruno de Oliveira Abinader
46e2f13e68 [core] Fix integer overflow for high maximum zoom levels 2015-10-23 11:00:52 -07:00
Minh Nguyễn
224e405976 Typo in iOS changelog
[skip ci]
2015-10-23 10:35:12 -07:00
Minh Nguyễn
1e9cf71b5a IB inspectable for allowing tilt 2015-10-23 10:09:27 -07:00
Leith Bade
28113d92e7 [android] Use new GPS markers.
Add missing dpi for mapbox logo and compass.
Fixes #2732
Fixes #2690
2015-10-24 03:28:16 +11:00
Adam Hunter
45a8aa6a8f [ios] Fix for a crash on iPod Touch related to carrier vendor
Reverts #2691, which only fixed simulator crashing.

Refs #2687
2015-10-23 12:07:55 -04:00
Tobrun
ba4a2965c7 [android] #2751 - added sanity tests for feature activities 2015-10-23 16:59:57 +02:00
Leith Bade
4af9797994 [android] Use hardware layer for compass fade
Set minimum API level to 14 (don't know why it 15)
Set test app version to 2.2.0
2015-10-24 00:43:44 +11:00
Leith Bade
e1d66a7aac [android] Fix disabling compass
Fixes #2752
2015-10-23 21:04:24 +11:00
Leith Bade
1240f9a019 [android] Test max 27.4k markers
Add timing logging
For #2726
2015-10-23 20:58:11 +11:00
Tobrun
0ff57342fd [android] #2748 - added a coordinatebounds unit test 2015-10-23 10:07:49 +02:00
Leith Bade
267e33ba5a [android] Add SpriteFactory.drawable for custom markers
Used in InfoWindowAdapter activity
Fixes #2744
2015-10-23 17:06:20 +11:00
Leith Bade
54762825b0 [android] Fix JNI local ref overflow
Change test to 1000 markers
For #2726
2015-10-23 16:40:44 +11:00
Leith Bade
f71d61fa91 [android] Add missing satellite streets style to Android and iOS.
As well as default_styles.cpp
Fixes #2739
Fixes #2740
2015-10-23 14:09:24 +11:00
John Firebaugh
1f4144c65a [core] Remove StyleLayer::isBackground() 2015-10-22 17:53:16 -07:00
Leith Bade
bb4bf9a779 [styles] Update to styles release v1.1.4
Fixes #2585
2015-10-23 10:33:37 +11:00
Bruno de Oliveira Abinader
54858dae8c [core] Added save/restore capabilities to GL config 2015-10-22 16:02:39 -07:00
Bruno de Oliveira Abinader
a1c53d92e5 [core] Added stencilOp, depthFunc and blendFunc to GL config
All GL values are now reset upon Painter setup.
2015-10-22 16:02:39 -07:00
Bruno de Oliveira Abinader
5fa144647d [core] Added GLContextMode to MapData
Adding new mbgl::GLContextMode enum to mbgl::Map ctor, which gets stored
in MapData. In shared GL context environments, we cannot assume that the
GL state that has been left since the last draw is the same, so we reset
the GL configurations to their default values.
2015-10-22 16:02:39 -07:00
Brad Leege
7a51a53cac [android] #2689 - Setting new 2.2.0-SNAPSHOT version for development 2015-10-22 16:01:25 -07:00
John Firebaugh
c46a8254c4 [core] Style-sourced shape annotation properties
This introduces the possibility to source the type and style properties
of a shape annotation from a designated layer in the style.
2015-10-22 15:27:53 -07:00
Minh Nguyễn
4f509288b7 [iOS] Removed long-unavailable APIs 2015-10-22 14:27:58 -07:00
Minh Nguyễn
e3934df8d4 [iOS] Replaced styleID property with styleURL__ inspectable
The new styleURL__ inspectable property is carefully named to masquerade as a URL property in Interface Builder, even though IB supports no such thing.

If the user enters an invalid URL into the “Style URL” inspectable, throw an error instead of silently setting the style to the default. This check is not required in -setStyleURL:, which takes a real NSURL.
2015-10-22 14:27:39 -07:00
Jason Wray
0f866d9db6 [ios] minor telemetry improvements
- Use integer precision on zoom, location accuracy, and altitude keys
- Bump telemetry user agent version to 1.1
- Only send cellular events when dataful
2015-10-22 17:03:46 -04:00
John Firebaugh
3afc8b4a29 [core] Introduce StyleLayer subclasses 2015-10-22 09:34:40 -07:00
John Firebaugh
df89de5cc5 [core] Rationalize style property classes: <type>{Paint,Layout}Properties 2015-10-22 09:21:30 -07:00
Tobrun
83d39364f9 [android] #2552 add 10000 markers 2015-10-22 17:18:49 +02:00
Tobrun
17decd5c86 [android] #2716 - moved visible coordinate bounds to separate activity 2015-10-22 16:51:05 +02:00
Tobrun
19c58ec498 [android] #2640 - replaced RelateLayout with merge tag 2015-10-22 14:40:55 +02:00
Manabu Shimobe
d4aebbf879 add missing DPI bitmaps and update based on code review comments 2015-10-22 20:00:18 +09:00
Manabu-GT
84c8d1fd6e add setSetVisibleCoordinateBounds api as already in iOS 2015-10-22 19:58:52 +09:00
Leith Bade
927b4c6dbe [android] Refactor annotations API
Remove unimplemented properties.
Correct defintions of equals() and hasCode().
Add setOnInfoWindowClickListener and remove old method from Marker.
Refactor showInfoWindow() to remove need for exposing internal method.
Make select/deselectMarker public. Add getSelectedMarker.
Fix bug where you couldn't reselect a closed info window.
Add empty constructor to LatLng and LatLngZoom.
Fixes #2546
Fixes #2631
Fixes #2448
2015-10-22 20:00:43 +11:00
Leith Bade
8b79a8d6e6 [android] Implement UserLocationView
Draws animated and synced GPS marker.
Inlcudes direction arrow and accuracy ring.
Fade out the compass after a delay when reset to north.
Lots of other performance and memory improvements.
add OnMyLocationChangeListener
Move FAB with snackbar
Fix getMetersPerPixelAtLatitude
Fix some incorrect annotations
Fixes #2668
Fixes #2411
Fixes #2678
Fixes #2675
Fixes #2566
Fixes #2549
Fixes #2692
Fixes #2572
2015-10-22 17:07:10 +11:00