From 77d95d27ceeec502bf3d316660594abf4ed61517 Mon Sep 17 00:00:00 2001 From: Mikhail Pozdnyakov Date: Tue, 24 Mar 2020 18:26:35 +0200 Subject: Add change log entry --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) 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)) -- cgit v1.2.1