diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2020-03-24 18:26:35 +0200 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2020-03-24 20:53:55 +0200 |
commit | 77d95d27ceeec502bf3d316660594abf4ed61517 (patch) | |
tree | 1046899f01482e888f580902a5f90f3667af0e43 | |
parent | 371af12e1ff3b02e81210a6831c0cca77fb8ec90 (diff) | |
download | qtlocation-mapboxgl-77d95d27ceeec502bf3d316660594abf4ed61517.tar.gz |
Add change log entry
-rw-r--r-- | CHANGELOG.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index bdb01e4dd6..92d0b47cd1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,15 @@ - [android] Add jni binding for styleable snapshotter ([#16286](https://github.com/mapbox/mapbox-gl-native/pull/16286)) +- [core] Ability to set generic layer properties using setProperty method ([#16324](https://github.com/mapbox/mapbox-gl-native/pull/16324)) + This change enables the following new keys for the `mbgl::Layer::setProperty()` API: + - "filter" invokes `setFilter()` + - "minzoom" invokes `setMinZoom()` + - "maxzoom" invokes `setMaxZoom()` + - "source-layer" invokes `setSourceLayer()` + + The newly-added API is used in the style-conversion code, which made this code much simpler. + ### 🐞 Bug fixes - [core] Use `TileCoordinates` instead of `LngLat` for `within` expression calculation ([#16319](https://github.com/mapbox/mapbox-gl-native/pull/16319)) |