Commit Graph

53 Commits

Author SHA1 Message Date
Tobrun
6b633d5ff3 [android] #3664 - reverse direction fix + formatting commit 2016-01-22 11:52:17 +01:00
Tobrun
488fa3a4c5 [android] #3661 - GPS heading with extra rotation fix 2016-01-22 08:57:33 +01:00
Brad Leege
59f70811a9 [android] #3537 - Setting to 4.0.0-SNAPSHOT 2016-01-20 16:55:40 -05:00
Brad Leege
baae67cafd Merge pull request #3639 from mapbox/release-android-v3.1.0
Android 3.1.0 --> master
2016-01-20 16:53:58 -05:00
Brad Leege
3797bbf75c [android] #3537 - Updating version to 3.1.0 for release and fabric 2016-01-20 11:26:34 -05:00
Ansis Brammanis
26faa6a5ad [core][ios][osx][android] fix icons with non-integer width/height
ref #3031
ref #2198

For example, an icon that has:
- a pixel width of 10
- a pixel ratio of 3
- a scaled with of 3.333
is now supported.
2016-01-19 18:20:54 -08:00
Tobrun
fa84283a9d [android] #3608 - upgrade okhttp3 to version 2 2016-01-19 15:26:04 +01:00
Tobrun
8ffe776141 [android] #3503 - remove serialisable interface from classes in geometry package, implemented parcable on CoordinateBounds, CoordinateRegion and CoordinateSpan. Enforced Android code conventions on those classes. 2016-01-19 14:59:36 +01:00
Tobrun
6b3745c68d [android] #3156 - improving marker selection touch handling 2016-01-19 12:59:57 +01:00
Tobrun
5ff95d4524 [android] #3525 - fix ConnectivityManager context leak 2016-01-19 12:03:52 +01:00
Tobrun
fabc457adf [android] #3338 - add javadoc annotations package 2016-01-19 11:07:53 +01:00
Minh Nguyễn
47b69100f9 [core, ios, osx, android, glfw] Flipped origin of Map::latLngForPixel(), Map::pixelForLatLng()
Map and Transform methods assume an origin at the top-left corner of the view, like iOS, Android, and GLFW but unlike OS X. Transform is responsible for flipping coordinates between the top-left origin of Map and the bottom-left origin of TransformState.

Fixes #3574.
2016-01-18 16:54:58 -08:00
Tobrun
78bedff8f9 [android] #3556 - Added test to trigger NaN value on same point, updated LatLng model to handle calls for distance calls of same point 2016-01-18 13:31:37 +01:00
Tobrun
0ebf5fcaae [android] #3507 - fix location listener leak in UserLocationView 2016-01-18 12:17:59 +01:00
Tobrun
74a9c505f9 [android] #3573 - Marker clicks stop working after orientation change 2016-01-18 09:10:17 +01:00
Tobrun
2631f5bf93 [android] #3517 - recreating InfoWindow with correct MapView instance 2016-01-15 13:14:13 +01:00
Tobrun
e22b0270f4 [android] #3559 - don't show InfoWindow when marker is invalid 2016-01-15 11:19:47 +01:00
Tobrun
d764e9829e [android] #3450 - fix rotation when enabling user location 2016-01-14 16:27:29 +01:00
Tobrun
35855889df [android] #3461 - upgrade to okhttp3 for faster tile loading! 🚀 2016-01-14 14:21:46 +01:00
Tobrun
1f31de288f [android] #3535 - improve disabling tracking modes 2016-01-14 13:25:58 +01:00
Minh Nguyễn
ac4b1b7479 [core] Standardize transform origin
All Transform methods that take a PrecisionPoint now assume a “flipped” origin at the upper-left corner of the view. Previously, some methods assumed an origin at the lower-left corner.
2016-01-14 00:39:56 -08:00
Minh Nguyễn
d26b956a48 [core] Cleaned up Transform
Eliminated many redundant methods on Transform. Minimized usage of TransformState::x and TransformState::y. Added convenient constructors for AnimationOptions. When scaling, passing in view’s origin as the anchor no longer anchors the scaling operation at the view’s center. To specify no anchor, use NaN.

Increased precision of worldSize(), now that it’s used much more heavily in transform methods.
2016-01-14 00:39:18 -08:00
Tobrun
9df48d4e2c [android] #3514 - update pro guard config 2016-01-13 13:03:28 +01:00
Tobrun
9379aeac1c [android] #3518 - fix context leak InfoWIndow by using a WeakReference 2016-01-12 15:56:42 +01:00
Tobrun
703ccbd727 [android] #3309 - replace coordinate naming with LatLng 2016-01-12 14:08:24 +01:00
Tobrun
71edb38cf1 [android] #3327 - replaced ZoomLevel with Zoom, introduced new methods, deprecated old ones 2016-01-12 12:34:45 +01:00
Tobrun
2b5d7bfb8e [android] #3498 - disable missing permission lint check inline 2016-01-12 10:39:03 +01:00
Tobrun
656eb8766c [android] #3481 - add check to enable location in tracking mode 2016-01-08 17:44:54 +01:00
Tobrun
1caad0db7c [android] #3435 - updated MapView for swallowing SecurityExceptions if permissions are revoked by end-user 2016-01-07 11:35:46 +01:00
Tobrun
9d6cb1361c [android] #3444 #3435 - added change listeners to location tracking and bearing tracking, added requires permissions checks and handled them in the test app, update javadoc to reflect changes, formatting commit of MapView, Reposition UserLocationView when location tracking becomes active 2016-01-06 10:05:58 +01:00
Antonio Zugaldia
1738a9e200 [android] Fixes crash related to location listener
Fixes #3442
2016-01-05 17:36:09 -08:00
Minh Nguyễn
1a501d4ec4 Happy new year! 2016-01-05 14:01:58 -08:00
Tobrun
f80673b15c [android] #3397 - animating change of direction when tracking mode is follow user 2016-01-05 16:10:17 +01:00
Tobrun
522a88560b [android] #3308 - remove default constructor 2016-01-05 16:06:34 +01:00
Antonio Zugaldia
6e4eb094bf [android] Fix zoom gestures when scrolling is disabled
Fixes #3421
2015-12-30 15:27:58 -08:00
Antonio Zugaldia
d2b2336a9e [android] better http log messages
Fixes #3411
2015-12-24 11:25:17 -05:00
Brad Leege
aca584e124 [android] #3412 - Remove REGION_DID_CHANGE checks and set animateCamera methods to 1 millisecond default animation durations 2015-12-24 10:03:28 -06:00
Tobrun
11a8978eed [android] #3283 - fix setCenterCoordinate animation 2015-12-23 16:32:09 +01:00
Brad Leege
06f58b288a [android] #3384 - package-info.java for the .camera and .location packages JavaDocs 2015-12-22 17:27:04 -06:00
Brad Leege
4a18e1cf77 [android] #3354 - Setting Android Version to 3.1.0-SNAPSHOT 2015-12-21 18:29:57 -06:00
Brad Leege
19f2f62609 [android] #3354 - Incrementing Version to 3.0.0 for release 2015-12-21 12:22:43 -06:00
Brad Leege
3bffd6456f [android] #3358 - easeTo() uses nanoseconds instead of milliseconds 2015-12-20 10:00:08 -06:00
Brad Leege
77d62baa50 [android] #3358 - Created easeCamera() API method. 2015-12-20 09:46:59 -06:00
Brad Leege
8f532eeefa [android] #3358 - Making Core GL camera methods private. Adding moveCamera() API method. Updating CameraActivity to use only animateCamera() and moveCamera() API. 2015-12-20 09:19:03 -06:00
Tobrun
f3de446bd9 [android] #3304 - refactor SpriteFactory to IconFactory, changed all the sprite names to icon for convention 2015-12-20 11:57:36 +01:00
Brad Leege
f7d1a40350 [android] Camera API 2015-12-18 11:33:40 -08:00
Tobrun
b8aee77299 [android] #3107 - allow other type of drawable to be used from a resource drawable other than BitmapDrawables 2015-12-18 15:47:54 +01:00
Tobrun
f31ff44d79 [android] #3317 #3239 - SpriteFactory Singleton, added different custom markers to InfoWindowActivity 2015-12-18 09:03:13 +01:00
Oguz Babaoglu
9e90934438 [Android] MapFragment null container fix 2015-12-18 08:10:47 +01:00
Tobrun
5c4ac72d5a [android] #3277 - update android support lib + new configuration to manage these 2015-12-18 08:00:07 +01:00