Commit Graph

1602 Commits

Author SHA1 Message Date
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
Pablo Guardiola
ef18012409 [android] release v5.2.0-beta.2 (#10240) 2017-10-19 16:35: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
fe6e0c360e [android] - removed unused gradle plugins 2017-10-18 11:02:04 +02:00
Tobrun Van Nuland
d95079a0f9 [android] - use FileSource pause and resume when foregrounding/backgrounding app 2017-10-17 17:22:29 +02:00
Tobrun Van Nuland
56446c5d17 [android] - add additional Android Animator examples 2017-10-12 13:56:00 +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
Pablo Guardiola
503a96c6b1 [android] release v5.2.0-beta.1 (#10144) 2017-10-09 13:57:50 +02: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
6a846ce5a8 [android] - update symbol layer example with changing symbol location 2017-10-04 15:20:46 +02:00
Tobrun Van Nuland
cef386ca47 [android] - make OfflineTilePyramidRegionDefinition parceable 2017-09-29 11:22:46 +02:00
Konstantin Käfer
64c75b442c [build] split out DefaultFileSource and dependents to a separate target
We don't want to link it into the node bindings, so keep it in a separate target
2017-09-28 13:48:36 -04: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
Tobrun Van Nuland
0108f7cd7e [android] - latLngBounds test 2017-09-26 11:43:33 +02:00
Tobrun Van Nuland
2511e78e1f [android] - update changelog for 5.1.4 release. 2017-09-26 11:43:33 +02:00
Pablo Guardiola
0701de566b bump MAS version number to 2.2.3 (#9901) 2017-09-26 11:43:33 +02:00
Pablo Guardiola
ac68df24d2 [android] fix is download complete (a download is complete when count and required resources match and the download state is inactive) (#9913) 2017-09-26 11:43:33 +02:00
Tobrun
4ff9ce7486 [android] - avoid adding duplicate points to bounds 2017-09-26 11:43:33 +02:00
Robin Darby
6dbdf3aaeb [android] Clear out mapCallback's OnMapReadyCallbacks on onDestroy 2017-09-26 11:43:33 +02:00
Tobrun Van Nuland
95092df8e9 [android] - harden offline region deletion 2017-09-26 11:43:33 +02:00
Radosław Juszczyk
9596940638 Do not check connection if it is local request
Requests to servers which run on localhost should be independent from internet connection.
2017-09-26 11:43:33 +02:00
Tobrun Van Nuland
9ed623acb1 [android] - disable rotation gesture when pinch zooming 2017-09-26 11:43:33 +02:00
Tobrun Van Nuland
7bcb3232cc [android] - update changelog for 5.1.4 release. 2017-09-26 10:40:48 +02:00
Tobrun Van Nuland
e6fea1e726 [android] - disable rotation gesture when pinch zooming 2017-09-25 09:38:14 +02:00
Ivo van Dongen
04d7aced4d [android] fix map in dialog activity 2017-09-22 23:33:56 +03:00
Ivo van Dongen
c6cafc5e10 [android] fix double map activity 2017-09-22 23:33:56 +03:00
Ivo van Dongen
779fc8aeee [android] example custom layer - add context lost callback 2017-09-22 23:33:56 +03:00
Ivo van Dongen
d1e69c8baf [android] CustomLayer - optionally accept a context lost callback function 2017-09-22 23:33:56 +03:00
Ivo van Dongen
b0c06c764b [android] re-implemented the fps listener api 2017-09-22 23:33:56 +03:00
Ivo van Dongen
bef58c38a8 [android] speed up ui tests
- Make the idling resource use a push model instead of polling for the ready state.
2017-09-22 23:33:56 +03:00
Ivo van Dongen
18bb6da109 [android] reset renderer on the GL thread when map is destroyed
- ensures cleanup of resources on the right thread
2017-09-22 23:33:56 +03:00
Ivo van Dongen
c17be060fd [android] map snapshots 2017-09-22 23:33:56 +03:00
Ivo van Dongen
8182b26dfe [android] signal renderer when gl surface is re-initialized that gl context is lost 2017-09-22 23:33:56 +03:00
Ivo van Dongen
67285f3a95 [android] Re-initialise renderer, backend and context when the android system destroyed the underlying gl resources 2017-09-22 23:33:56 +03:00
Ivo van Dongen
e0312ef208 [android] fix ZoomButtonController initialisation order
- prevents "java.lang.IllegalArgumentException: Receiver not registered: android.widget.ZoomButtonsController" when quitting the map before the receiver is properly registered
2017-09-22 23:33:56 +03:00
Ivo van Dongen
5d12503302 [android] self-contained map renderer
- Isolates the GL thread in a MapRenderer class with a native peer
2017-09-22 23:33:56 +03:00
Ivo van Dongen
15a47d116a [android] schedule work on the gl thread using GLSurfaceView#queueEvent 2017-09-22 23:33:56 +03:00
Ivo van Dongen
347d7c19c0 [android] async rendering
- introduces GLSurfaceView
- introduces Orchestration thread
- renders on the gl thread
2017-09-22 23:33:56 +03:00