Commit Graph

5606 Commits

Author SHA1 Message Date
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
Leith Bade
729a793b0e Add style string resources
Use _ in public resources ids
Make visibility attributes enums
Make attrs public
Remove info window margin public value
Reformat XML code
Test app uses XML map properties for InfoWindow activities
Fixes #2703
2015-10-22 16:21:03 +11:00
Leith Bade
2daa5f14a8 [android] Fix bug in setSprite when calculating pixel data size
Change Marker sprite() to icon() and use Sprite class
Load a Maki dog icon in test app
Fixes #2506
2015-10-22 16:18:13 +11:00
Brad Leege
e5289d685f [android] #2689 - Setting Version to 2.1.0 for release 2015-10-22 15:15:23 +11:00
Brad Leege
bb6fff0c5d [android] #2684 - Twitter Fabric integration metadata 2015-10-22 15:15:23 +11:00
Tobrun
cc8986d60f [android] - #2666 removed compass sensor data for milestone 2.1.0 2015-10-22 15:15:23 +11:00
Tobrun
7f08c22aed [android] #2663 animate user dot when location changes 2015-10-22 15:15:23 +11:00
Tobrun
fe8cd14621 [android] #2661 - improved LOST configuration: using a min interval time spend interval instead of fixed interval, enlarged minimum replacement, fixed type in inline comment 2015-10-22 15:15:23 +11:00
Tobrun
9fa48abf6e [android] # 2659 - While zooming location change is incorrect 2015-10-22 15:15:23 +11:00
Leith Bade
a6aade629b [android] Use -1px topMargin on InfoWindowTipView to avoid occasional gap.
Fixes #2636
2015-10-22 15:15:23 +11:00
Leith Bade
f3d4c3fc1a [android] Make Marker anchor property private
Fixes #2652
2015-10-22 15:15:23 +11:00
Leith Bade
ec95dfec16 [android] Tidy up annotations API
Make unimplemented properties package private.
Make annotations object properties immutable.
Make InfoWindow and Circle classes package private.
Remove no longer needed casts from Options classes.
Added a few missing get/add methods to annotations classes for consistency.
Mininal version of #2546 suitable for v2.1.0 release.
2015-10-22 15:15:23 +11:00
Brad Leege
2452aab3a1 [android] #2631 - Adding alpha() test for PolygonOptions 2015-10-22 15:15:23 +11:00
Brad Leege
ace137beb1 [android] #2631 - Removing AnnotationsOptions and MultiPointOptions in favor of concrete implementation 2015-10-22 15:15:23 +11:00
Leith Bade
053b9ae012 [android] Remove JavaDoc changelog for 2.1.0 release 2015-10-22 15:15:23 +11:00
Jason Wray
17121563ac [ios] fix simulator crash on optional CoreTelephony code
Fix #2687
2015-10-21 18:47:00 -04:00
Bruno de Oliveira Abinader
ead4ca599a [core] Fix transition to default style when no classes are applied
Some property transitions were being set to their fallback values when
no classes are being used. This issue is particularly perceived when the
default transition duration is not zero (animated transitions).
2015-10-21 14:02:08 -07:00
Minh Nguyễn
16122d4ec3 [iOS] Updated changelog for #2700 2015-10-21 13:23:44 -07:00
Minh Nguyễn
a4d8b373f3 [ios] Notify delegate during rotate and pitch gestures 2015-10-21 12:39:28 -07:00
Minh Nguyễn
a30add62f9 Merge remote-tracking branch 'Hitta/fixed-notification' into 1ec5-changing-2373 2015-10-21 12:28:36 -07:00
Bruno de Oliveira Abinader
6824a24acd [core] Removed time param from Painter::render
Animation time can be obtained directly from MapData.
2015-10-21 11:20:45 -07:00
Bruno de Oliveira Abinader
0045eef00a [core] Moved Painter::setup() to Painter ctor 2015-10-21 11:20:39 -07:00
Bruno de Oliveira Abinader
ad3078e73d [core] Remove redundant setDebug() from Painter
This information can be obtained directly from MapData.
2015-10-21 11:20:20 -07:00
Bruno de Oliveira Abinader
5db4670d78 [core] Added more transform state getters
Some platforms requires specific information that was previously not
available in public API, but stored internally in TransformState object.
2015-10-21 11:06:51 -07:00
Leith Bade
717cbd32ad Update metrics test server SSL certificate 2015-10-21 10:04:11 -07:00
Jason Wray
e5aab73b60 [core] only check for mapbox:// at the start of the failed request's URL 2015-10-21 11:38:01 -04:00
Jason Wray
ae5a345cc4 [core] Improve error message when style is not found or is incompatible
Attempting to use a Mapbox-hosted incompatible raster map/style with GL
would throw a simple 404, without any indication of the real issue.

Fix #1724, ref #1841
2015-10-21 11:38:01 -04:00
Minh Nguyễn
21c40f41e8 Test metrics on staging endpoint 2015-10-20 14:48:11 -07:00
John Firebaugh
00a1c2343a [core] Remove shape layers from the style (fixes #2405) 2015-10-20 13:54:20 -07:00
John Firebaugh
c5b95032a5 [core] Annotation refactor 2015-10-20 13:54:19 -07:00
John Firebaugh
597b2b4851 [core] Pull annotation typedefs to own header; add AnnotationID 2015-10-20 13:54:19 -07:00
John Firebaugh
8baa804a44 [core] Fix swapped lat/lon in geo.cpp 2015-10-20 13:54:19 -07:00
Justin R. Miller
342475efb7 add Bitrise badge to README 2015-10-20 11:41:43 -07:00
Justin R. Miller
6eee72e677 fixes #2419: adapt iOS tests for Bitrise CI 2015-10-20 11:32:39 -07:00
Jason Wray
28be82c1c1 [ios] remove CoreTelephony dependency
Cellular carrier name and connectivity level will now only be sent if
the developer independently chooses to link the CoreTelephony framework
in their app.
2015-10-19 13:52:28 -04:00
Vladimir Agafonkin
aaf090b87d [core] Use pixelmatch test-suite 2015-10-16 16:32:12 -07:00
Minh Nguyễn
8e8a341e28 [iOS] Dismiss authorization prompt before testing Location Services delegate methods 2015-10-16 14:58:57 -07:00
Minh Nguyễn
c71416377f [iOS] Revert 'Use modular headers everywhere'
This commit rolls back AliSoftware/OHHTTPStubs@806ba99fb7 so that we can keep using OHHTTPStubs in the same project without creating a separate framework target.
2015-10-16 14:58:54 -07:00
Minh Nguyễn
ebf81a1e27 [iOS] Upgraded to AliSoftware/OHHTTPStubs@4.3.0 2015-10-16 14:58:48 -07:00
Bryan Housel
6c49f8a578 Fix path of mapbox-gl-test-suite render tests 2015-10-16 10:28:02 -04:00
Konstantin Käfer
b3f31e9fa2 [core] update docker script
[skip ci]
2015-10-16 13:58:01 +02:00
Leith Bade
ceb67bbc77 [android] Update to Android support library v23.1.0
Also OkHTTP to 2.5.0
Fixes #2639
2015-10-16 18:31:44 +11:00
Bruno de Oliveira Abinader
6a1b9b31a6 [core] MapContext setStyle{URL,JSON} should ignore redundant calls
Our engine should be robust enough to ignore redundant calls and avoid
triggering a whole style update if the style URL and/or JSON are the
same.
2015-10-16 13:16:02 +11:00