summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2020-04-08 15:14:20 +0300
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2020-04-08 17:00:21 +0300
commit718dd295abd099fbfd323dc46543a4eb5c6cf36b (patch)
treee9a66a39d8dfa46e59ffcbbfac50a808ef0fd9e6
parent5a9fa44d5566884a07994c7c03744239fd83b7fd (diff)
downloadqtlocation-mapboxgl-718dd295abd099fbfd323dc46543a4eb5c6cf36b.tar.gz
Add change log entry
-rw-r--r--CHANGELOG.md24
1 files changed, 15 insertions, 9 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index af681ad336..5ceec9882f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -19,6 +19,21 @@
- `getPlacedSymbolsData()`
if collecting of the placed symbols data is enabled, returns the reference to the `PlacedSymbolData` vector holding the collected data.
+### 🐞 Bug fixes
+
+- [core][tile mode] Reduce cut-off labels (part 2) ([#16369](https://github.com/mapbox/mapbox-gl-native/pull/16369))
+
+ Now, the intersecting symbols are placed across all layers _symbol by symbol_ according to the following rules:
+
+ 1. First we look, which of the tile border(s) the symbol intersects and prioritize the the symbol placement accordingly (high priority -> low priority): `vertical & horizontal -> vertical -> horizontal`
+ 2. For the symbols that intersect the same tile border(s), assuming the tile border split symbol into several sections, we look at the minimal section length. The symbol with a larger minimal section length is placed first.
+ 3. For the symbols that intersect the same tile border(s), and have equal minimal section length, we look at the anchor coordinates.
+ 4. Finally, if all the previous criteria are the same, we look at the symbol key hashes.
+
+- [core][tile mode] Fix variable placement for labels with the `icon-text-fit` property set ([#16382](https://github.com/mapbox/mapbox-gl-native/pull/16382))
+
+ The `symbolIntersectsTileEdges()` util in `mbgl::TilePlacement` now considers icon shift for the variable symbols with enabled icon-text-fit setting, thus providing more accurate results.
+
## maps-v1.5.1
### 🐞 Bug fixes
@@ -31,15 +46,6 @@
When dem tiles are loaded, border in neighboring tiles is updated, too leading to bucket re-upload. if std::move moved indices / vertices previously, they are empty and we get crash. Re-upload requires that only DEM texture is re-uploaded, not the quad vertices and indices.
-- [core][tile mode] Reduce cut-off labels (part 2) ([#16369](https://github.com/mapbox/mapbox-gl-native/pull/16369))
-
- Now, the intersecting symbols are placed across all layers _symbol by symbol_ according to the following rules:
-
- 1. First we look, which of the tile border(s) the symbol intersects and prioritize the the symbol placement accordingly (high priority -> low priority): `vertical & horizontal -> vertical -> horizontal`
- 2. For the symbols that intersect the same tile border(s), assuming the tile border split symbol into several sections, we look at the minimal section length. The symbol with a larger minimal section length is placed first.
- 3. For the symbols that intersect the same tile border(s), and have equal minimal section length, we look at the anchor coordinates.
- 4. Finally, if all the previous criteria are the same, we look at the symbol key hashes.
-
## maps-v1.5.0
### ✨ New features