Commit Graph

1011 Commits

Author SHA1 Message Date
Tobrun
a47f8245da Monkey crashes (#10440)
* [android] - avoid null map from trackballevent

* [android] - fixup animated marker test activity from monkey runs

* [android] - harden NativeMapView OnMapChangeListener

* [android] - harden against destroyed wrapper activity while moving touch pointers

* [android] - harden bulk marker activity for monkey runner

* [android] - harden scale end gesture event for null velocity tracker

* [android] - invalid mapboxMap invocation

* [android] - reset test setup
2017-11-10 16:33:51 +01:00
tobrun
24de48b772 [android] - update android unit tests, update test make target to SDK 2017-11-06 18:53:50 +01:00
tobrun
4d486e10ce [android] - check for null value when calling mapboxMap.clear 2017-11-06 17:16:27 +01:00
Pablo Guardiola
cdc5dde0ec [android] revert adding mapbox-android-core dependency (#10354) (#10380) 2017-11-03 15:39:53 -07:00
Ivo van Dongen
d1d0c20044 [android] TextureView - cleanup destruction code 2017-11-03 09:19:39 -07:00
Ivo van Dongen
8753edf08f [android] test app - texture view test activities 2017-11-03 09:19:39 -07:00
Ivo van Dongen
3b2bd7ce4f [android] bring back texture view 2017-11-03 09:19:39 -07:00
Ivo van Dongen
e9bb4d1582 [android] texture view map renderer 2017-11-03 09:19:39 -07:00
Ivo van Dongen
fd5f357d1d [android] move egl under renderer package 2017-11-03 09:19:39 -07:00
Ivo van Dongen
6adeee601e [android] encapsulate gl surfaceview rendering specifics in map renderer subclass
- preparation for re-introduction of texture view
2017-11-03 09:19:39 -07:00
Tobrun
d9fe241761 [android] - workaround Android O OkHttp bug. 2017-11-02 13:27:50 -07:00
Tobrun
5dbd94016b [android] - fix logo scale for MapSnapshot 2017-11-02 07:41:53 -07:00
Pablo Guardiola
29a94ae939 [android] make location provider optional (#9488) (#10354) 2017-11-01 18:25:52 -07:00
Osana Babayan
d0d401b007 [android] android.hardware.location.gps feature should not be required (#10347) 2017-11-01 17:10:49 -07:00
Tobrun
e6d50da2c5 [android] - check for possitive animation duration 2017-11-01 14:56:37 -07:00
Tobrun
a5ff277ed9 [android] - add logo resize to MapSnapshotter 2017-11-01 14:56:37 -07:00
Tobrun
cb7f6dfaec [android] - make snapshot logo optional 2017-11-01 14:56:37 -07:00
Ivo van Dongen
0c5e15e21e [android] map snapshotter - expose attributions 2017-11-01 09:23:53 -04:00
Ivo van Dongen
9c3e78a9b9 [android] map snapshotter - wrap snapshot in native peer for access to the pointFor functionality 2017-11-01 09:23:53 -04:00
Ivo van Dongen
fd3587608b [android] map snapshotter - add mutators 2017-11-01 09:23:53 -04:00
Tobrun
03d3aee6fc [android] - rework ease interactions to take in account possitve duration requirement 2017-10-31 15:30:48 -07:00
Osana Babayan
9aa2c197ca [android] MapboxMap.animate() and Mapbox.easeCamera() should throw IllegalArgument (#10321)
if non-positive duration is passed in
2017-10-31 15:30:48 -07:00
Tobrun
f578b26282 [android] - add bulk addImages api on MapboxMap 2017-10-31 13:47:12 -07:00
Osana Babayan
ebe6a30821 [android] Make sure onFinish has new camera position after camera.move (#10324) 2017-10-31 09:23:02 -07:00
Ramin Mirsharifi
9b41791dec [android] - Add angular velocity effect on rotation gesture. 2017-10-30 16:25:37 -07:00
Ramin Mirsharifi
c351f65c09 [android] - Add touch velocity effects on scale gesture. Fine tune. 2017-10-30 16:25:37 -07:00
Ramin Mirsharifi
8c4e2f0886 [android] - Add touch velocity effects on scale gesture. 2017-10-30 16:25:37 -07:00
Tobrun
b8d5798bea [android] - avoid null pointer if map wasn't initalised when saving instance state 2017-10-30 13:00:19 -07:00
Tobrun
5893af7f24 [android] - move shape annotation click handling to core 2017-10-30 09:34:23 -07:00
Minh Nguyễn
72a6eb8b5c [android, ios, macos] Added Hungarian localization
Added a Hungarian localization to the Android SDK. Updated the iOS and macOS SDK Hungarian localization.
2017-10-27 22:23:02 -07:00
Minh Nguyễn
edf399f1b7 [android, ios, macos] Added Bulgarian localization 2017-10-27 22:23:02 -07:00
Antonio Zugaldia
bd06e2f6fa [android] - lower amount of external dependencies (#10268) 2017-10-26 12:57:46 -04:00
Tobrun
af90446758 [android] - null check mapboxMap with onStop invocation 2017-10-23 22:39:00 +02:00
Tobrun Van Nuland
24fc48982a [android] - wire up MapZoomButtonController with camera change events 2017-10-18 15:51:41 +02:00
Tobrun Van Nuland
a221b459e9 [android] - execute notifying listeners when not idle 2017-10-18 15:38:55 +02:00
Tobrun Van Nuland
d95079a0f9 [android] - use FileSource pause and resume when foregrounding/backgrounding app 2017-10-17 17:22:29 +02:00
Antonio Zugaldia
6d673799f8 [android] Revert native loading behavior (#10180) 2017-10-11 09:06:58 -04:00
Tobrun Van Nuland
ff03a75da4 [android] - hold off handling hover events untill map has been created 2017-10-10 15:28:33 +02:00
Asheem Mamoowala
24bd336b88 [android][ios][macOS] Implement bindings for Map::cameraForGeometry. On macOS, also added -[MGLMapView setCamera: withDuration: animationTimingFunction: edgePadding: completionHandler:] for parity with iOS 2017-10-09 13:58:11 -07:00
Tobrun Van Nuland
9048d6cfd0 [android] - fine tune gesture zoom & rotation 2017-10-09 16:51:17 +02:00
Antonio Zugaldia
a1aed6f095 Provide a fallback method to load the native library (#10154)
* provide a fallback method to load the native library

* move context call inside loader to avoid changing method signature
2017-10-09 10:07:09 -04:00
Tobrun Van Nuland
94312acd8b [android] - allow multiple listeners for camera events, deprecate old api 2017-10-06 15:43:51 +02:00
Tobrun Van Nuland
cef386ca47 [android] - make OfflineTilePyramidRegionDefinition parceable 2017-09-29 11:22:46 +02:00
Pablo Guardiola
d73e33eb62 [android] fix snapshot builds (#10079) 2017-09-28 09:34:58 +02:00
Fabian Guerra
6d1fdf2ca3 Merge branch 'release-ios-v3.6.0-android-v5.1.0' into master.
# Conflicts:
#	circle.yml
#	platform/android/CHANGELOG.md
#	platform/android/MapboxGLAndroidSDK/gradle.properties
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/AnnotationManager.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java
#	platform/android/dependencies.gradle
#	platform/default/mbgl/storage/offline_database.cpp
#	platform/ios/CHANGELOG.md
#	platform/ios/Mapbox-iOS-SDK-nightly-dynamic.podspec
#	platform/ios/Mapbox-iOS-SDK-symbols.podspec
#	platform/ios/Mapbox-iOS-SDK.podspec
#	platform/ios/app/Main.storyboard
#	platform/ios/src/MGLMapView.mm
#	src/mbgl/programs/attributes.hpp
#	src/mbgl/renderer/painter_fill.cpp
#	src/mbgl/tile/geometry_tile.hpp
#	src/mbgl/tile/geometry_tile_worker.cpp
#	src/mbgl/tile/raster_tile.cpp
#	src/mbgl/tile/raster_tile.hpp
#	src/mbgl/tile/raster_tile_worker.cpp
#	test/tile/annotation_tile.test.cpp
#	test/tile/geojson_tile.test.cpp
#	test/tile/raster_tile.test.cpp
#	test/tile/vector_tile.test.cpp
2017-09-27 12:08:24 -04:00
Tobrun Van Nuland
79c9a7ffe7 [android] - deprecate MarkerView 2017-09-27 12:58:16 +02:00
Tobrun Van Nuland
9eba7d8b3e [android] - hide overlain views on init 2017-09-26 16:22:46 +02:00
Tobrun Van Nuland
ef0ce1a9a4 [android] - bump snapshot version to beta 2017-09-26 16:22:25 +02:00
Tobrun Van Nuland
2f4cc7e466 [android] - add API to perform platform side animations 2017-09-26 12:06:36 +02:00
Tobrun Van Nuland
3f52377543 [android] [auto] Update properties to version 5.1.4 in preparation for build. 2017-09-26 11:43:33 +02:00