Tsoi Yat Shing
7bcc2d3282
Calculate the heading differently, depending on whether the device is placed horizontally or vertically.
...
The previous logic may return wrong heading when the device is placed horizontally.
2020-04-23 13:30:34 +02:00
Tsoi Yat Shing
928632ad43
Prevent dropping the TYPE_ACCELEROMETER and TYPE_MAGNETIC_FIELD sensor events, otherwise, only one sensor value is updated in each heading update.
...
Especially, there may be more TYPE_ACCELEROMETER events in some devices, such that TYPE_MAGNETIC_FIELD events could be dropped easily.
Also, it took longer time to reflect the latest heading if there are few events, due to the lowPassFilter.
2020-04-23 13:30:34 +02:00
Tsoi Yat Shing
7367a49de0
Remove the use of the deprecated TYPE_ORIENTATION sensor.
...
The compass engine has not adjusted the heading according to the device orientation. This causes wrong heading if the device is not in its normal orientation.
2020-04-23 13:30:34 +02:00
Kevin Li
ec15d862db
Update changelog for 9.2.0-alpha.1 ( #329 )
...
* Incorporate changes since 9.1.0 and changes in GL Native maps-v1.6.0-rc.1
Co-authored-by: Chloe Krawczyk <chloe.krawczyk@mapbox.com >
2020-04-21 21:54:09 -07:00
Łukasz Paczos
bb1132a4d3
make sure to hard-cancel all ignored location animators
2020-04-21 14:36:13 +02:00
Łukasz Paczos
6f73982d95
disable LocationIndicatorLayer's location transitions
2020-04-21 14:36:13 +02:00
Łukasz Paczos
e491d3c9ec
update license file
2020-04-21 14:36:13 +02:00
Łukasz Paczos
1c88a2261f
bump gl-native to 1.6.0-rc.1
2020-04-21 14:36:13 +02:00
Łukasz Paczos
7364dd0282
LocationIndicatorLayer tests
2020-04-21 14:36:13 +02:00
Ł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
Alexander Shalamov
d7161fca1f
Add bindings for max overscale factor for parent tiles ( #299 )
2020-04-20 11:16:59 +03:00
Thiago Marcos P. Santos
69b7b10776
Bump Mapbox GL Native
...
mapbox-gl-native @ c4b061bd95
2020-04-17 18:36:19 +03: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
414e155af3
Not rebuild all files ( #318 )
2020-04-10 21:31:32 +08:00
Kevin Li
f27b16562d
Update change log for 9.1.0 ( #309 )
...
* Update change log for 9.1.0
* Update changelog
2020-04-07 14:35:39 +08:00
Kevin Li
cedd2afecc
Add log for canceled request. ( #304 )
2020-04-03 16:32:51 +08:00
Kevin Li
4fcae9e2bb
Make mapview unable to intercept scroll event. ( #308 )
2020-04-03 16:32:02 +08:00
Igor Tarasov
daecbed823
Move JNI bindings code from mapbox-gl-native to this repo. ( #301 )
2020-04-02 19:45:56 +03:00
Pablo Guardiola
620bda356c
fix proguard telemetry events rule ( #306 )
2020-04-02 09:33:55 -04:00
Kevin Li
dceba08311
Fix Expression can't convert within json error ( #305 )
2020-04-01 18:09:15 +08:00
Kevin Li
dbdc053db1
Update ccache config ( #298 )
2020-03-30 21:29:03 +08:00
Kevin Li
dbace6a779
Update change log for 9.1.0-beta.2 ( #295 ) ( #297 )
...
* Update change log for 9.1.0-beta.2
* Update CHANGELOG.md
Co-Authored-By: Chloe Krawczyk <chloe.krawczyk@mapbox.com >
* Update CHANGELOG.md
Co-Authored-By: Chloe Krawczyk <chloe.krawczyk@mapbox.com >
* Update CHANGELOG.md
Co-Authored-By: Chloe Krawczyk <chloe.krawczyk@mapbox.com >
* Update CHANGELOG.md
* Update CHANGELOG.md
Co-Authored-By: Chloe Krawczyk <chloe.krawczyk@mapbox.com >
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
Co-authored-by: Chloe Krawczyk <chloe.krawczyk@mapbox.com >
(cherry picked from commit ab1aed9b04 )
2020-03-27 16:38:47 +08:00
Kevin Li
ab1aed9b04
Update change log for 9.1.0-beta.2 ( #295 )
...
* Update change log for 9.1.0-beta.2
* Update CHANGELOG.md
Co-Authored-By: Chloe Krawczyk <chloe.krawczyk@mapbox.com >
* Update CHANGELOG.md
Co-Authored-By: Chloe Krawczyk <chloe.krawczyk@mapbox.com >
* Update CHANGELOG.md
Co-Authored-By: Chloe Krawczyk <chloe.krawczyk@mapbox.com >
* Update CHANGELOG.md
* Update CHANGELOG.md
Co-Authored-By: Chloe Krawczyk <chloe.krawczyk@mapbox.com >
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
Co-authored-by: Chloe Krawczyk <chloe.krawczyk@mapbox.com >
2020-03-27 12:58:44 +08:00
Kevin Li
585253ed0d
Bump gl-native to 1.5.0 ( #296 )
2020-03-27 12:54:53 +08:00
Kevin Li
fbea14a8bc
bump telemetry to 5.0.0, core to 2.0.0 ( #293 )
2020-03-26 16:24:55 +08:00
Tobrun
4b0cd4025f
[glyph] rework local glyph generation to use RGB values vs alpha ( #289 )
2020-03-25 14:58:59 +01: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
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
69b2d4c765
Add change log for v9.1.0-beta.1 ( #275 )
...
* Add change log for v9.1.0-bate.1
* improve existing entries, add gl-native entries
* add known issue release note
* fix link
* this is what the beta release tag description should look like
* make changes for changelog.md file
* fix inconsistencies
* minor fixup
* Apply suggestions from code review
Co-Authored-By: Minh Nguyễn <mxn@1ec5.org >
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* tighten up sort key entry
* use android naming
* add release note about snapshotter regression
* fix nits
* remove release note about regression
waiting for GL Native 1.4.1 patch instead
Co-authored-by: Chloe Krawczyk <chloe.krawczyk@mapbox.com >
Co-authored-by: Minh Nguyễn <mxn@1ec5.org >
2020-03-17 08:51:24 +01:00
Kevin Li
c0dfb15890
Bump gl-native to v1.4.1 ( #279 )
2020-03-17 15:24:33 +08:00
Kevin Li
192f5d8008
Bump gl-native to 1.4.0 ( #276 )
2020-03-16 15:49:24 +08: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
Chloe Krawczyk
5c7a432bd6
Add skip changelog label to PR template ( #272 )
2020-03-11 20:04:56 -07:00
Kevin Li
d9bcd52a44
[doc] Update changelog for v9.0.1 ( #223 )
...
* [doc] Update changelog for v9.0.1
* Update CHANGELOG.md
* Update CHANGELOG.md
2020-03-11 17:56:18 +08:00
Chloe Krawczyk
1dedece852
Add PR template for drafting changelogs ( #270 )
2020-03-10 17:10:56 -07: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
77b2ac8ef7
[doc] Update changelog for v8.6.3 ( #219 )
2020-03-05 17:31:43 +08:00
Peng Liu
95f0a0bb44
[ci] Add upstream trigger of binary size check. ( #217 )
2020-03-05 11:17:42 +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
tobrun
c217a61170
[android] - update gl-native dependency to v1.3.1 release
2020-03-02 12:42:58 +01:00
Chloe Krawczyk
60666fa75d
add entry for min/max pitch option
...
re-order entries by importance, tighten up some changelog entries, fix nits
add additional entries from mapbox-gl-native changelog
2020-03-02 12:42:58 +01:00
tobrun
0046be2e05
[docs] updat changelog for v9.1.0-alpha.1
2020-03-02 12:42:58 +01:00