Commit Graph

220 Commits

Author SHA1 Message Date
Tobrun
8262846294 [android] #4487 - ArrayInOutOfBoundsException fix for polyline and polygon 2016-03-29 14:07:52 -05:00
Tobrun
f8b6e1f7da [android] #4487 - ArraysInOfBoundsException fix for addMarkers 2016-03-29 14:07:52 -05:00
Justas Medeisis
af4871f7bf [android] #4510 - Remove onStart() and onStop() lifecycle methods from MapView. 2016-03-29 13:41:36 -05:00
Brad Leege
7a9a58f4fb [android] #4475 - Only wrapping when needed in LatLng.wrap(). Making Javadoc more clear. Making tests consistent. 2016-03-25 16:55:07 -05:00
Brad Leege
464c29f043 [android] #4475 - Dialing down logs 2016-03-25 16:55:07 -05:00
Brad Leege
01dfd3c15d [android] #4475 - Only wrap Telemetry longitude when it's outside bounds 2016-03-25 16:55:07 -05:00
Brad Leege
ef90e2286f [android] #4475 - Wrap all Longitude Telemetry data 2016-03-25 16:55:07 -05:00
Brad Leege
335e346ed1 [android] #4475 - Introducing LatLng.wrap() and removing usage of wrap() in JNI's nativeLatLngForPixel() 2016-03-25 16:55:07 -05:00
Tobrun
b4d365c3c8 [android] #4424 - NativeMapView null pointer bug when updating CompassView 2016-03-24 18:48:27 -05:00
Cameron Mace
48cc510d29 [android] #4429 Removed NonNull from OnMapReady 2016-03-24 18:38:51 -05:00
Brad Leege
24216ce51a Merge branch '4444-out-of-bounds' into release-ios-3.2.0-android-4.0.0 2016-03-24 17:17:17 -05:00
Brad Leege
6a29e7e624 [android] #4444 - Wrapping all LatLng from nativeLatLngForPixel() to solve problem and mirror Android Google Maps API 2016-03-24 16:59:47 -05:00
Vacxe
34cea826b9 TelemetryService: Catch IllegalArgumentException exception when unregisterReceiver 2016-03-24 14:46:21 -05:00
Tobrun
79069d13b4 [android] #4398 - Default value bug fix for MapboxMapOptions 2016-03-24 17:32:38 +01:00
Antonio Zugaldia
a7fedcb604 [android] Add Javadoc for offline package
Fixes #4295
2016-03-23 12:20:35 -04:00
John Firebaugh
ca8212de92 [all] Set maximum maxZoom to 21
Numbers greater than 21 trigger various bugs.
2016-03-21 16:38:54 -07:00
Tobrun
a0225d6ef7 [android] #4326 - making the code compatible with unit tests again 2016-03-21 16:58:49 -05:00
Tobrun
d329800806 [android] #4326 - using the camera API vs getCameraPosition should return same output 2016-03-21 16:58:49 -05:00
Brad Leege
fb4d9d083d Merge branch '4327-OnDoubleTap-trigger-camera-invalidation' into release-ios-3.2.0-android-4.0.0 2016-03-21 15:45:51 -05:00
Brad Leege
1856b3aeea [android] #4328 - Adding check of userAgent to see if it's still in initial state before prepending app meta data to it 2016-03-21 15:08:42 -05:00
Tobrun
8508aea6fb [android] #4327 - OnDoubleTap needs to trigger camera invalidation after a zoom occurs 2016-03-21 14:25:14 -05:00
Antonio Zugaldia
ead63abadd [android] Make sure we always load mapbox-gl when a native method is loaded
Fixes #4175
2016-03-21 14:34:04 -04:00
Antonio Zugaldia
682b404bf6 [android] Unify cache and offline databases
See #4362
2016-03-21 10:55:54 -07:00
Brad Leege
d33cee7fd8 [android] #4328 - Make Telemetry start only when savedInstanceState is null 2016-03-18 17:26:38 -04:00
Brad Leege
fff13d0976 [android] #4294 - JavaDocs for Telemetry classes 2016-03-18 14:26:07 -04:00
Tobrun
4681d0b545 [android] #4320 - rename including to contains 2016-03-15 14:00:01 -04:00
Tobrun
93123e4d0e [android] #4318 - move min/max zoom level to MapboxMap 2016-03-15 13:56:53 -04:00
Tobrun
e04fea8409 [android] #4304 - logo visibility fix for attributes defined in xml 2016-03-14 16:25:18 -04:00
Tobrun
d64652f9be [android] #3749 - added javadoc 2016-03-12 19:57:27 -05:00
Tobrun
a980f725b8 [android] #4252 - close concurrent window fix 2016-03-11 22:29:48 -05:00
Tobrun
45e6ee1372 [android] #4283 - enable strict mode in test app + fix strict mode warning related to releasing the surface 2016-03-11 20:07:56 -05:00
Tobrun
4cb75a5c36 [android] #4263 - fix null pointer on MapboxMapEventManager 2016-03-10 14:59:33 -05:00
Tobrun
d03e87fa4d [android] #4263 - have the ability to define multiple callbacks for OnMapReady 2016-03-10 10:49:37 -05:00
John Firebaugh
bbfd2c3d5a [android] Route exceptions in HTTPRequest constructor to onFailure 2016-03-10 10:38:00 -05:00
Tobrun
808bf7004a [android] #4076 - MapboxMapOptions fix 2016-03-09 17:46:00 -05:00
Tobrun
3679dc254f [android] #4076 - MapboxMapOptions initial version 2016-03-09 16:00:35 -05:00
Brad Leege
9c4192411a [android] #4183 - Moving QuickZoom event recording to single finger, double tap, and drag processing 2016-03-08 16:27:05 -06:00
Dan Swick
c5f85bf9e7 Update TooManyIconsException.java 2016-03-07 21:53:03 -05:00
Dan Swick
e54ceec950 Update IconBitmapChangedException.java 2016-03-07 21:53:03 -05:00
Tobrun
0306a94e53 [android] #4078 - improved instructions of exception message 2016-03-07 21:53:03 -05:00
Cameron Mace
6a31aa2910 [android] #4078 Gave help directly in logcat instead of refering to install.md 2016-03-07 21:51:05 -05:00
Brad Leege
30c753e7c4 [android] #4220 - Removing WAKE_LOCK from TestApp. Lowering log level to debug for Telemetry Location and Send to Server log lines. 2016-03-07 17:38:48 -06:00
Thiago Marcos P. Santos
fe811bd38e [android] Do not reach native if the HTTPContext was invalidated
Native will get destroyed before the Java HTTPRequest and asynchronous
requests might still get answered.

If the request gets canceled, we now clear the reference to the native
code and it will never reach it.

Lock is needed because OkHTTP replies on its own thread, so we need to
guard the access to the variable we use for checking if the Request was
canceled. In the future we could remove the lock and use Runnable when
we move Android main loop to Looper instead of libuv.

Like the other implementations of HTTPRequest on Mapbox GL Native, the
request is destroyed synchronously on ::cancel().
2016-03-07 19:13:56 -03:00
John Firebaugh
c8b100ffe4 [android] Remove redundant arguments from offline native methods
`this` is automatically provided as the first argument to a native method.
2016-03-07 09:31:16 -08:00
John Firebaugh
6aa8be56f6 [android] destroyOfflineRegion must not delete an already-deleted peer 2016-03-07 09:31:16 -08:00
Tobrun
4a3beeddba [android] #4211 - avoid crashes when NativeMapView is being destroyed 2016-03-06 13:29:26 -05:00
John Firebaugh
dbffe1dfab [android] Use jni.hpp low-level wrappers 2016-03-04 15:33:32 -08:00
John Firebaugh
235f4ee6f6 [android] Use jni.hpp in http_request_android.cpp 2016-03-04 15:33:32 -08:00
Tobrun
bc63d75227 [android] #3867 - performance improvement for invalidating the camera 2016-03-03 13:28:01 +01:00
Tobrun
d994f2de0f [android] #4166 - move style url to map view for improved async loading 2016-03-03 07:38:23 +01:00