Commit Graph

469 Commits

Author SHA1 Message Date
Antonio Zugaldia
5c037f4745 [android] Introduce a getDatabasePath() method that enables switching storage paths
Fixes #5589
2016-07-15 09:58:53 -04:00
Brad Leege
95e5d12235 [android] #5682 - Cloning events list to prevent synchronization issues 2016-07-14 16:20:36 -07:00
Brad Leege
f2585b342c [android] #5682 - Adding NaN and Infinite checks to trackGestureDragEndEvent() and trackGestureEvent() 2016-07-14 16:20:36 -07:00
Antonio Zugaldia
11095881f7 [android] Adds an API to enable/disable delivering messages when the region goes inactive. 2016-07-14 16:44:58 -04:00
Cameron
765e8d2be1 [android] latlngbounds includes added in builder
Fixes #5574

added includes test
2016-07-14 12:13:44 +02:00
Tobrun
fd5ee40506 [android] #5631 - add a concrete java exception when creating a marker without the required position field.
[android] #5631 - updated test cases to handle invalid position on a Marker
2016-07-14 09:36:51 +02:00
Brad Leege
5fb0e878b4 [android] #5680 - Adding 1000 event cap to send telemetry data 2016-07-13 18:32:14 -07:00
Tobrun Van Nuland
9387523376 [android] #5649 - fixes fragment null pointer when creating a SupportMapFragment without a OnMapReadyCallback 2016-07-13 16:43:01 +02:00
Justas Medeisis
566c6cf618 [android] #5649 - Request MapView parents not to intercept scroll gestures. 2016-07-13 16:43:00 +02:00
Tobrun
3dacbdd42e [android] #5438 - add bearing to MyLocationView for the SDK camera object
[android] #5438 - integrate MyLocationView set bearing inside the MapView setBearing

[android] #5438 - invalidate the MapView instead of calling update from core.

[android] #5438 - add bearing MyLocationView to setBearing focal point on MapView

[android] #5438 - Get correct bearing when camera object is rotated around the z-axis, notify MyLocationView when camera position changes, update test utilities.

[android] #5438 - fixes compass tracking
2016-07-13 14:52:15 +02:00
Tobrun
cbfc9bc33c [android] #5541 - removes requirement of MapboxAccountManager.start before setContentView.
[android] #5541 - add a MapboxAcountManagerNotStartedException when calling getInstance when not started.

[android] #5541 - fixes using access tokens in attributes & MapboxMapOptions

[android] #5541 - improved MapboxAccountManager exception message
2016-07-13 14:47:42 +02:00
Brad Leege
a73c81cc55 [android] #5613 - Limiting location event latitudes and longitudes to 7 digits after the decimal place 2016-07-12 16:59:33 -07:00
Tobrun
caba8c11b9 [android] - remove duplicate bearing/direction API from MapView 2016-07-11 15:52:23 +02:00
Tobrun
d929e32217 [android] #5513 - make sure view is measured first before anchoring 2016-07-07 14:01:23 +02:00
Tobrun
85756f360e [android] - Resolves updating marker view position with SurfaceView 2016-07-07 14:00:05 +02:00
Tobrun Van Nuland
99a4850613 [android] #5000 - initial surface view implementation. 2016-07-06 11:01:37 +02:00
Tobrun
2bf4e20052 [android] #5104 - make nativePixelForLatLng faster (74ms to 57ms)
[android] #5104 - make nativeLatLngForPix faster (52ms - 45ms).

[andriod] #5104 - make nativeSetLatLng faster (117ms to 105ms)

[android] #5104 - make nativeFlyTo faster (106ms to 97ms)

[android] #5104 - make nativeEaseTo faster (103 to 94ms)

[android] #5104 - make nativeJumpTo faster (94 to 86ms)

[android] #5104 - make nativeProjectedMetersForLatLng faster (32 to 30ms)

[android] #5104 - make nativeLatLngForProjectedMeters faster (32 to 30ms)
2016-07-05 15:43:19 +02:00
Tobrun
a40953dd71 [android] - Remove StyleInitializer class, obsolete with introduction MapboxAccountManager 2016-07-05 13:34:22 +02:00
Tobrun
6b0c16a148 [android] #5564 - fixes latitude lint range setup for getMetersPerPixelAtLatitude 2016-07-05 10:49:47 +02:00
Tobrun
87209bd04f [android] - add javadoc to mapboxmapoptions 2016-07-05 10:07:08 +02:00
Tobrun
ced4ad63f7 [android] - fixes deprecation javadoc of accessToken 2016-07-05 09:09:31 +02:00
John Firebaugh
03f30f5207 Merge remote-tracking branch 'origin/release-android-v4.1.0' 2016-06-29 17:07:15 -07:00
Brad Leege
dfbee38f53 [android] #5510 - Setting version to 4.2.0-SNAPSHOT 2016-06-29 12:23:51 -05:00
Brad Leege
ee4cb08e4f [android] #5510 - Fixing POM Name 2016-06-29 10:50:55 -05:00
Brad Leege
799dc9bd93 [android] #5510 - Setting properties to 4.1.0 for Release 2016-06-29 10:39:07 -05:00
Brad Leege
e2499207a7 [android] #4700 - Removing Deprecated annotation on MapboxMap.OnMyLocationChangeListener 2016-06-28 11:56:19 -05:00
Brad Leege
5cc174c0f5 [android] #5470 - Adding NaN and Infinite checks to location event tracking 2016-06-27 13:46:43 -05:00
Tobrun
3456e086ac [android] Fixes disappearing markers when crossing dateline, remove debug exception catch.
Fixes #5402
2016-06-27 10:18:38 -04:00
Tobrun
0d17bb1cc8 [android] #5479 - don't invalidate MapView when we are animating MyLocationView with an ObjectAnimator. 2016-06-25 10:03:04 +02:00
Tobrun
871f82dceb [android] #5479 - Don't disable rotate gesture if we have tracking disabled 2016-06-25 10:00:18 +02:00
Tobrun
76f9c1ac02 [android] #5479 - apply preRotate instead of postRotate for a correct transformation 2016-06-25 09:57:20 +02:00
Tobrun Van Nuland
64da7fa684 [android] Addresses marker view flat bug
Fixes #5427
2016-06-24 09:14:58 -04:00
Tobrun Van Nuland
cff1a8929f [android] Make markers View.GONE when being added for the first time to the map
Fixes #5439
2016-06-23 12:13:36 -04:00
Tobrun Van Nuland
6b1a753fd4 [android] Recalculate offset with new anchor
Fixes #5421
2016-06-23 12:00:47 -04:00
Stephen Niedzielski
4c87da6b8f Allow Mapbox to be served to devices without Wi-Fi
android.permission.ACCESS_WIFI_STATE implies an android.hardware.wifi
requirement. Make Wi-Fi optional.
2016-06-23 08:08:13 +02:00
Jesse Bounds
5832f63acc [android] Cancel other gestures during shove.
This adds a guard so that when a shove gesture is occurring, no other
gestures take place. This helps avoid the disorienting feeling of
having the map move left and right and rotate while trying to tilt it
and looks more like Google maps.
2016-06-22 21:54:44 +02:00
Antonio Zugaldia
1e2d567942 [android] #5415 - fix fabric version name 2016-06-20 16:11:11 -04:00
Ivo van Dongen
a2dbec82dd [android] Fix info window placement on programatic marker select
Fixes #5348
2016-06-17 19:55:10 +02:00
Tobrun
8c83af7b97 [android] #5299 - remove MarkerView x,y animation 2016-06-17 16:06:37 +02:00
Antonio Zugaldia
27da49c5fb first approach to a marker continuosly chasing another 2016-06-17 16:06:37 +02:00
Tobrun
2f8fd61ac7 [android #4700 - remove deprecation MyLocationListener 2016-06-17 13:08:32 +02:00
Justas Medeisis
ce2ccf9c3f [android] #5335 - Invalidate MyLocationView during bearing indicator animation. 2016-06-17 12:00:32 +02:00
Justas Medeisis
f470208f6e [android] #5335 - Always record latest accelerometer and magnetometer sensor values regardless of MyLocationView update throttling. 2016-06-17 12:00:32 +02:00
Justas Medeisis
a5476346bf [android] Fix crash when MyBearingTracking mode is not NONE.
Fixes #5331
2016-06-16 15:43:31 -04:00
Ivo van Dongen
2033d756c2 [android] Dynamic update of InfowWindow with InfoWindowAdapter example
Fixes #5353
2016-06-16 15:27:38 -04:00
Brad Leege
cc1e2610c7 [android] Create Wrappers for Cordova
Fixes #4761
2016-06-16 13:34:31 -04:00
Tobrun
dd221596ba [android] #5342 - initial marker animation 2016-06-16 16:02:10 +02:00
Tobrun Van Nuland
8e9fde6608 [android] #5276 - icon should be optional for MarkerView 2016-06-15 13:36:31 +02:00
Tobrun Van Nuland
7942ce9455 [android] #5279 - expose MarkerView alpha 2016-06-14 15:11:20 +02:00
Brad Leege
4f622a75db [android] #4959 - Dynamic Sizing Of Default InfoWindow Based On Availability Of Title And Snippet Data 2016-06-13 15:46:59 -05:00