Commit Graph

43 Commits

Author SHA1 Message Date
Alexander Shalamov
6984dbf155 Add getLayer and getSource snapshotter methods (#292)
* Expose snapshotter layer and source objects

* Add example snapshotter + within activity

* Bump vendor/mapbox-gl-native
2020-03-25 13:42:23 +02:00
Kevin Li
da6d8a2b06 Add runtime styling APIs on MapSnapshotter (#268)
* Add styleable snapshotter.

* Add style API for snapshotter

* Add observer interface to snapshotter

* WIP Add styling to snapshotter activity

* Update interface and implement addlayer functions.

* Deprecate methods instead of removing

* Implement addSource functions.

* Implement addImage function

* Still use the previous callback interface.

* Expose onStyleDidloaded interface

* Add setStyle method

* Start native snapshotter from start method

* Fix snapshotter test.

* Fix check style

* Keep the original interface

* Update gl-native

* Add demo for snapshotter heatmap layer

* bump gl-native

Co-authored-by: Alexander Shalamov <alexander.shalamov@mapbox.com>
2020-03-25 09:59:38 +08:00
Tobrun
d8c919f1dd [mapview] expose queuEvent to schedule runnable to execut on thread of MapRenderer (#284) 2020-03-23 07:51:37 +01:00
Tobrun
14eb8f038a [textureview] validate TextureView surface texture when creating egl window surface (#278) 2020-03-17 10:12:38 +01:00
Kevin Li
ea7bc213a2 Enable ccache for android studio. (#269) 2020-03-09 22:00:06 +08:00
Kevin Li
04722fdefd Update generate-style-code and add sort key api for LineLayer and FillLayer. (#209) 2020-03-06 16:59:32 +08:00
Kevin Li
b976545181 Add expression within (#198)
* Add expression within

* Update expression within and runtime demo

* Update Runtime demo

* Fix android check
2020-03-04 18:18:53 +08:00
Kevin Li
17b19b3b4a Add min and max pitch options (#199)
* Add min and max pitch options

* Add min and max pitch into attrs

* Update gl-native submodule
2020-02-28 18:17:08 +08:00
Kevin Li
81189a98bc Add telemetry events classes to proguard (#195) 2020-02-28 10:05:51 +08:00
Kevin Li
2e9f02140c Add runtime API for setting tile prefetch delta for Source class (#184)
* Add runtime API for setting tile prefetch delta for Source class

* Use Integer as param.

* Update gl native submodule.
2020-02-25 09:24:04 +08:00
Kevin Li
18264df98d Add expression in. (#171)
* Add expression in.

* Add test for expression in.
2020-02-19 08:52:39 +08:00
Peng Liu
a8ebcb890c Revert "[sku] append sku token to offline download requests" (#173)
This reverts commit c275ad2e6d.
2020-02-13 13:55:39 +02:00
Łukasz Paczos
94a7727fc6 bump snapshot to 9.1.0 2020-02-11 14:48:37 +01:00
Łukasz Paczos
5b1a4ff265 expose option to pass intermadiate points for smooth location animation 2020-02-11 13:37:41 +01:00
tobrun
b15e9f88fc [location] add location permission 2020-01-30 10:53:22 +01:00
Peng Liu
aea886e741 Lazy load view components in MapView. (#141)
* Lazy load view components in MapView.

* Fix failing tests.

* Fix style.

* Lazy inflating view components.

* Remove debug logging.

* Fix android ui tests.
2020-01-29 15:03:42 +02:00
tobrun
c4d4f5d10a [android] - expose UiSettings configuration for disabling horizontall scroll gestures 2020-01-24 16:45:12 +01:00
tobrun
c275ad2e6d [sku] append sku token to offline download requests 2020-01-17 15:22:20 +01:00
tobrun
369c41ad67 [map] expose pixel ratio as public API on MapView 2020-01-15 11:44:13 +01:00
Igor Tarasov
ef4c225290 AccountManager: write user ID synchronously, keep it in memory. (#145)
* AccountManager: write user ID synchronously, keep it in memory.
* Unit tests: run AccountsManagerTest with Robolectric.
2020-01-15 12:36:25 +02:00
Peng Liu
7c9a8fc556 Add getVisibleCoordinateBounds method. (#109)
* Update visible region constructor doc.

* Add getVisibleCoordinateBounds method.

* Fix LatLngBounds#contains method, update to use Map::latLngBoundsForCameraUnwrapped(const CameraOptions& camera) on native side.

* Revert changes in LatLngBounds#contains.
2020-01-09 19:38:29 +02:00
Tobrun
509eeb89d3 [filesource] - update javadoc of setResourceCachePath (#135) 2020-01-09 14:40:17 +01:00
Tobrun
0130763391 Update codebase to androidX (#129)
* update codebase to androidX
2020-01-08 13:46:13 +01:00
Tobrun
aa50f6eae2 Update major version number to 9 (#132) 2020-01-08 11:06:38 +01:00
Tobrun
2da60d28fd Use hasInstance on public static getters of Mapbox.java (#128) 2020-01-07 13:35:50 +01:00
Łukasz Paczos
c4782e7a2d deprecate MapboxMap#cycleDebugActive 2019-12-17 14:05:29 +01:00
Łukasz Paczos
e274d6e28e keep the whole LocalGlyphRasterizer class to prevent constructor minification 2019-12-16 19:52:32 +01:00
Tobrun
c85c99f8e8 [projection] add bulk conversion of geographic coordinates to screen coordinates with reusable objects (#91) 2019-12-06 15:30:36 +01:00
Tobrun
c51eab4001 [map] expose getter for the view used for rendering OpenGL on (#87) 2019-12-03 21:00:37 +01:00
Tobrun
e8678922e4 Introduce OfflineManager.runPackDatabaseAutomatically(boolean) API (#78)
* [offline] Introduce OfflineManager.runPackDatabaseAutomatically(boolean) API

* [doc]  update changelog

* [doc] add note to offline region delete API
2019-12-03 16:28:16 +01:00
Łukasz Paczos
9a40605133 invoke cancelable callback when zoom/tilt while tracking is ignored 2019-12-03 13:15:58 +01:00
Łukasz Paczos
4bde987fb9 invoke location camera transition finish callback when equal mode is set 2019-12-03 12:01:02 +01:00
Łukasz Paczos
561c2ed335 add SoLoader's proaguard rule 2019-11-27 12:45:22 +01:00
Tobrun
72c28e4495 [gl-native] update gl-native to latest 2019-11-22 13:29:44 +02:00
Tobrun
8b20a92880 [libaryloader] synchronise access to the library loader load method (#58) 2019-11-18 07:22:50 +01:00
Łukasz Paczos
dfdbaf5493 bump gl-native submodule and bring platform changes 2019-11-13 15:54:21 +01:00
Tobrun
1f262f356b [gl-native] update submodule to latest from master, update snapshot version for release-tequila (#32) 2019-10-30 11:20:06 +01:00
Langston Smith
50f9717afc Removed BubbleLayout deprecated tag and added explanation (#29) 2019-10-29 13:14:29 -07:00
Peng Liu
70214f1e6b Add isLayerReady check in LocationComponent before updating compass listener. (#19) 2019-10-23 11:06:15 +03:00
tobrun
4bc6f10e44 [vendor] - update project with latest changes 2019-10-18 14:02:52 +02:00
tobrun
529616a0e7 [build] add continous integration 2019-10-14 12:28:58 +02:00
tobrun
daf0430a24 [update] pull in latest for gl-native 2019-10-09 19:17:25 +02:00
tobrun
a3ef1ac2d0 [build] - initial commit 2019-10-09 13:19:56 +02:00