Commit Graph

30 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
Kevin Li
1cb8fb7a01 Add interface for stretchable image (#314)
* Add interface for stretch image

* Add demo for stretch image api

* Add stretchable image demp

* Update stretchable image test activity.

* Revert change for SymbolLayerActivity

This reverts commit 22bbb798
2020-04-16 14:31:38 +08: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
d32133790c Export all activities. (#323) 2020-04-15 17:53:30 +08:00
Kevin Li
7ca1bcf821 Fix onStyleImageMissing not fired in Snapshotter (#317)
* Modify example to trigger OnStyleMissing callback

* Fix onStyleImageMissing callback not works in snapshotter.

* Update gl-native

* Update doc

* Fix android check
2020-04-14 17:58:23 +08:00
Kevin Li
4fcae9e2bb Make mapview unable to intercept scroll event. (#308) 2020-04-03 16:32:02 +08:00
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
02b5e60f86 [testapp] - add example using within expression (#288) 2020-03-24 12:52:54 +01:00
Kevin Li
c8108edc29 Add test demo for filter with expression in (#218)
* Add test demo for filter with expression in

* Update gl-native
2020-03-12 19:03:08 +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
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
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
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
Łukasz Paczos
c4782e7a2d deprecate MapboxMap#cycleDebugActive 2019-12-17 14:05:29 +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
97722e7555 add collection and style smooth reload example 2019-11-13 15:54:21 +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
Peng Liu
70214f1e6b Add isLayerReady check in LocationComponent before updating compass listener. (#19) 2019-10-23 11:06:15 +03: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