Commit Graph

985 Commits

Author SHA1 Message Date
Pablo Guardiola
cec7d12e37 [android] revert adding mapbox-android-core dependency (#10354) (#10380) 2017-11-09 12:43:28 +01:00
Ivo van Dongen
c24721103d [android] TextureView - cleanup destruction code 2017-11-03 12:31:44 +02:00
Ivo van Dongen
8671b834b4 [android] bring back texture view 2017-11-02 19:55:46 +02:00
Ivo van Dongen
efc776e4f9 [android] texture view map renderer 2017-11-02 19:55:46 +02:00
Ivo van Dongen
0fb2629a37 [android] move egl under renderer package 2017-11-02 19:55:46 +02:00
Ivo van Dongen
b30ec535bf [android] encapsulate gl surfaceview rendering specifics in map renderer subclass
- preparation for re-introduction of texture view
2017-11-02 19:55:46 +02:00
Pablo Guardiola
f13a8b0afa [android] make location provider optional (#9488) 2017-11-01 17:12:12 -07:00
Tobrun
ae1ada3b2b [android] - check for possitive animation duration 2017-11-01 13:57:55 -07:00
Tobrun
53e61fa71b [android] - add logo resize to MapSnapshotter 2017-11-01 03:17:45 -07:00
Tobrun
c61ccb30e9 [android] - make snapshot logo optional 2017-11-01 03:17:22 -07:00
Tobrun
56c2af5670 [android] - rework ease interactions to take in account possitve duration requirement 2017-10-31 15:28:19 -07:00
Ivo van Dongen
e0a305247a [android] map snapshotter - expose attributions 2017-10-31 19:52:08 +02:00
Ivo van Dongen
dde1a92291 [android] map snapshotter - wrap snapshot in native peer for access to the pointFor functionality 2017-10-31 19:52:08 +02:00
Ivo van Dongen
7481d317e7 [android] map snapshotter - add mutators 2017-10-31 19:52:08 +02:00
Osana Babayan
8c716fde96 [android] MapboxMap.animate() and Mapbox.easeCamera() should throw IllegalArgument (#10321)
if non-positive duration is passed in
2017-10-30 16:48:56 -07:00
Asheem Mamoowala
9e79659007 [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 11:42:37 -07: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
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
e6fea1e726 [android] - disable rotation gesture when pinch zooming 2017-09-25 09:38:14 +02: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
c17be060fd [android] map snapshots 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
Ivo van Dongen
c0544d8500 [android] remove texture view 2017-09-22 23:33:56 +03:00
Minh Nguyễn
453c13dee2 [android, ios, macos] Updated translations
Updated Catalan, Spanish, Swedish, Traditional Chinese, Ukrainian, and Vietnamese.
2017-09-22 10:05:40 -07:00
Tobrun Van Nuland
c9cb4ef624 [android] - set error handler when starting snapshotter, remove obsolete static keyword on interface 2017-09-21 10:38:23 +02:00
Pablo Guardiola
2fcbd78062 [android] hook camera events into compass (#10019) 2017-09-20 10:15:56 +02:00
Radosław Juszczyk
5e63e5704a Do not check connection if it is local request
Requests to servers which run on localhost should be independent from internet connection.
2017-09-14 07:45:31 +02:00
Tobrun Van Nuland
f0bf2c94ae [android] - harden offline region deletion 2017-09-14 07:44:56 +02:00
Tobrun Van Nuland
3f76907f92 [android] - bump proguard config for OkHttp 3.8.0 2017-09-14 07:44:35 +02:00
Minh Nguyễn
ef12dc0822 [android, ios, macos] Russian, Ukrainian, Hungarian and other localization updates (#9945)
* [android, ios, macos] Updated Russian localization

Added a Russian localization of the Android SDK. Updated the iOS and macOS Russian localizations.

* [android, ios, macos] Updated Ukrainian localization

Added a Ukrainian localization of the Android SDK. Updated the iOS and macOS Ukrainian localizations.

* [ios, macos] Updated Traditional Chinese localization

* [macos] Added Hungarian localization

* [android] corrected typos

* [ios, macos] Updated Ukrainian localization

* [android, ios, macos] Configured Foundation.stringsdict on Transifex

* [ios, macos] Pulled in Foundation.stringsdict from Transifex

Updated the German, Lithuanian, and Vietnamese localizations with Foundation.stringsdict files matching Transifex.
2017-09-12 23:53:28 -07:00
Tobrun Van Nuland
8e01f52dd2 [android] - don't recycle bitmap for icon reuse. 2017-09-12 10:18:24 +02:00
Tobrun
738f68251a [android] - avoid adding duplicate points to bounds 2017-09-11 19:26:03 +02:00
Robin Darby
a5bfb4ac40 [android] Clear out mapCallback's OnMapReadyCallbacks on onDestroy 2017-09-11 19:25:16 +02:00