Tobrun
61e63b718c
[android] #3746 - InfoWindowCloseListener
2016-02-09 14:53:08 +01:00
Tobrun
b3f1e2ed2a
[android] #3852 - upgrade to okhttp 3.1.1
2016-02-09 14:19:53 +01:00
Tobrun
227ddffee6
[android] #3745 - MapboxMap.OnCameraChangeListener 📷
2016-02-09 14:18:25 +01:00
Tobrun
2c6615df55
[android] #3747 - InfoWindowLongClickListener
2016-02-09 09:35:38 +01:00
jaumeolba
026e6a7560
Fix Memory leak caused by duplicated add in LocationListener list
...
The addLocationListener method didn't check if the LocationListener was
already in the list.
From MapView, if we call setMyLocationEnabled(true), it adds a
LocationListener and onResume adds the same LocationListener again, but
is just removed by onPause.
So LocationListener is added twice but removed just once, so
LocationServices singleton keeps an instance of the the LocationListener
that is never released.
2016-02-05 10:59:50 +01:00
Tobrun
7f27c74251
[android] #3811 - handle null target value by using previous camera position.
2016-02-04 12:35:39 +01:00
Tobrun
aa05cba0df
[android] #3758 - Projection / Visible Region implementation.
...
[android] #3758 - add VisibleRegion + unit tests, removed boundingbox, cleanup jni, cleanup test app, renamed CoordinateSpan to LatLng.
2016-02-04 12:08:39 +01:00
Brad Leege
932012e931
[android][core] #509 - Setting Min and Max Zooms warning annotations in Android. Clamping Min and Max zooms at Core GL for all platforms to use at runtime.
2016-02-03 17:59:44 -06:00
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