Commit Graph

23 Commits

Author SHA1 Message Date
Langston Smith
9bfe77df40 Adding pulsing circle to LocationComponent options (#172)
* [location] added pulsing locationcomponent circle

* adjusting style switching to roll through all styles

* refactored methods and variables for prefix continuity

* refactoring to after making start and stop private methods

* refactoring to stop pulsing when LocationComponent is disabled and color/speed is then selected

* refactoring to swap interpolator string paramete for interpolator interface parameter

* LocationLayerControllerTest adjustments

* removing unneeded test

* more rebase adjustments

* [location] added pulsing locationcomponent circle

* refactoring to swap interpolator string paramete for interpolator interface parameter

* consolidating pulse ui update methods

* gl-native vendor bump

* refactor to check for activation with locationcomponent

* Update MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponentOptions.java

Co-Authored-By: Łukasz Paczos <lukasz.paczos@mapbox.com>

* Update MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponent.java

Co-Authored-By: Łukasz Paczos <lukasz.paczos@mapbox.com>

* Update MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponentOptions.java

Co-Authored-By: Łukasz Paczos <lukasz.paczos@mapbox.com>

* Update MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponentOptions.java

Co-Authored-By: Łukasz Paczos <lukasz.paczos@mapbox.com>

* Update MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponentOptions.java

Co-Authored-By: Łukasz Paczos <lukasz.paczos@mapbox.com>

* Added incompatibility docs

* Added pulse alpha range explanation

* Do not wrap pulsing circle animator with an animator set to avoid leaks

Co-authored-by: Łukasz Paczos <lukasz.paczos@mapbox.com>
2020-04-30 12:28:36 +02:00
Kevin Li
859f64f97e Remove unit param for expression distance. (#352) 2020-04-29 15:57:25 +08:00
Kevin Li
5cee66a451 Add api and demo for expression distance (#339)
* Add api and demo for expression distance

* Update test case
2020-04-24 16:55:02 +08:00
Tsoi Yat Shing
d230172b3c Fix code style and unit test issues for the compass fix. 2020-04-23 13:30:34 +02:00
Łukasz Paczos
bb1132a4d3 make sure to hard-cancel all ignored location animators 2020-04-21 14:36:13 +02:00
Łukasz Paczos
7364dd0282 LocationIndicatorLayer tests 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
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
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
5b1a4ff265 expose option to pass intermadiate points for smooth location animation 2020-02-11 13:37:41 +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
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
Tobrun
0130763391 Update codebase to androidX (#129)
* update codebase to androidX
2020-01-08 13:46:13 +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
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
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