Commit Graph

69 Commits

Author SHA1 Message Date
Tobrun
9beb6629b6 [android] #3752 - added scroll by x,y feature, introduced new CameraUpdateType, introduced caching system for invalidating CameraPosition, general cleanup, readded getLatLng in MapView, ..
[android] #3752 - correctly invalidating cameraposition
2016-02-03 18:38:38 +01:00
Tobrun
ce8c6e26d5 [android] #3736 - clicks should ignore marker validation when an InfoWindowAdapter is supplied by end developer. 2016-02-02 18:08:14 +01:00
Tobrun
6dff169f2b [android] #3754 - newLatLngBounds: unit tests for LatLng and LatLngBounds, builder pattern + refactoring.
[android] #3754 - Working version using the underlying VisibleCoorindateBounds

[android] #3754 - refactor Camera api inside maps package, correctly use factory pattern, LatLngBounds hooks into camera API

[android] #3754 - cleanup old API
2016-02-02 17:25:46 +01:00
Tobrun
a699690c16 [android] #3759 - Add SupportMapFragment, test app integration, cleanup old fragment implementation 2016-02-02 08:18:41 +01:00
Tobrun
0e66d4dcc5 [android] #3776 - UiSettings uses MapView instead of MapboxMap as dependency. Cleanup obsolete methods MapboxMap/MapView, Renaming convention Google Maps SDK, Update tests, Some minor fixes in state management 2016-02-01 16:22:54 +01:00
Tobrun
6ebb3e88d8 [android] #3753 - Optimising zoom
[android] #3753 - removed old zoom methods from MapView
2016-02-01 16:08:09 +01:00
Tobrun
7c58c7803e [android] #3760 - parity with Google Maps SDK
[android] #3760 - added missing methods for UiSettings, updated tests and test app to reflect this change

[android] #3760 - typo fix
2016-02-01 12:47:14 +01:00
Tobrun
8ed1dc9f74 [android] #3145 - MapboxMap 2016-01-29 13:15:58 +01:00
Ansis Brammanis
ca0099b6a4 [android] getters, setters for minZoom, maxZoom
adds:
map.getMminZoom();
map.setMminZoom(double);
map.getMaxZoom();
map.setMaxZoom(double);
2016-01-28 15:10:26 -08:00
Brad Leege
94731a9ef0 [android] #3716 - Setting Android Version to 4.0.0-SNAPSHOT 2016-01-28 14:02:51 -06:00
Brad Leege
9fd7dd4597 [android] #3716 - Updating version to 3.2.0 for release 2016-01-28 11:54:21 -06:00
Brad Leege
87e28d09b2 [android] #3723 - Commenting out content padding in MapView API 2016-01-28 10:50:44 -06:00
Tobrun
1295ba7017 [android] #3692 - fix crash with bad internet connection 2016-01-28 09:01:59 +01:00
Larry Geromegnace
3d32c63f7d [android] Add getters for content paddings. 2016-01-27 10:57:38 -06:00
Larry Geromegnace
72ca584638 [android] Use padding to get center coordinates. 2016-01-27 10:57:38 -06:00
Larry Geromegnace
c114ed6562 [android] Add API to be able to set insets on MapView. 2016-01-27 10:57:38 -06:00
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