diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2020-03-19 18:48:27 +0200 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2020-03-20 11:43:59 +0200 |
commit | cb1d5053b09e91df72b655041b6995d23f9f0161 (patch) | |
tree | 4f01c6c54aae7fb8fce9beefb351a608be6aef56 | |
parent | 2a8e89d35589554391e46688995c3e6b1476a16c (diff) | |
download | qtlocation-mapboxgl-cb1d5053b09e91df72b655041b6995d23f9f0161.tar.gz |
Update changelog
-rw-r--r-- | CHANGELOG.md | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 21dd8c669d..fb396c4c59 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,21 +4,9 @@ ### ✨ New features -- [tile mode][static mode] Clear render data for the new still image request ([#16318](https://github.com/mapbox/mapbox-gl-native/pull/16318)) +- [core] Add Renderer::clearData() ([#16323](https://github.com/mapbox/mapbox-gl-native/pull/16323)) - The new `keepRenderData` map options flag is added to control whether render data shall be kept between `renderStill()` calls. - -### 🐞 Bug fixes - -- [tile mode][static mode] Clear render data for the new still image request ([#16318](https://github.com/mapbox/mapbox-gl-native/pull/16318)) - - If the `keepRenderData` map options flag is unset all render data is cleared between `renderStill()` calls, thus stale tiles from the previous `renderStill()` call are never shown. - -### 🏁 Performance improvements - -- [tile mode][static mode] Clear render data for the new still image request ([#16318](https://github.com/mapbox/mapbox-gl-native/pull/16318)) - - If the `keepRenderData` map options flag is unset all render data is cleared between `renderStill()` calls, thus saving memory being used. + The newly added `Renderer::clearData()` method allows to clear render data and thus save memory and make sure outdated tiles are not shown. ## maps-v1.4.1 |