Commit Graph

16 Commits

Author SHA1 Message Date
Łukasz Paczos
dbaad6312b hide the LocationIndicatorLayer impl 2020-04-21 14:36:13 +02:00
Łukasz Paczos
6bb456882a expose LocationIndicatorLayer and an alternative rendering mode based on it 2020-04-21 14:36:13 +02:00
Chloe Krawczyk
77d0d5e5cf Add bindings for circle-sort-key (#322)
* Update generate-style-code.js

* add jni bindings for circle-sort-key

* update mapbox-gl-native to latest

* Revert "add jni bindings for circle-sort-key"

This reverts commit cdd6049d

Co-authored-by: kevin <kevin.li@mapbox.com>
2020-04-15 17:56:54 +08: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
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
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
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
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
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
0130763391 Update codebase to androidX (#129)
* update codebase to androidX
2020-01-08 13:46:13 +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
Łukasz Paczos
c396113785 skip jni layers generation 2019-11-13 15:54:21 +01:00
Łukasz Paczos
dfdbaf5493 bump gl-native submodule and bring platform changes 2019-11-13 15:54:21 +01: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