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
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
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
John Firebaugh
110f1ec796
[ios, android] Add methods to remove a custom layer
2015-12-17 15:15:55 -08:00
John Firebaugh
2ee52915fe
[ios, android] Add a method to invalidate custom layers, forcing a repaint
2015-12-16 16:15:28 -08:00
John Firebaugh
13d5b18eba
[android] Move into platform subdirectory
2015-12-16 14:52:29 -08:00