summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2020-04-02 14:35:17 +0300
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2020-04-08 11:19:37 +0300
commit7f53cec17b047a1804952a8da543dc10321e1dae (patch)
treea75706d9a9665db87b72e00f3da5526065180709
parent39cdbb63c601c2b70414f26b3946844fca6c4584 (diff)
downloadqtlocation-mapboxgl-7f53cec17b047a1804952a8da543dc10321e1dae.tar.gz
Add change log entry
-rw-r--r--CHANGELOG.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4b61db8ec8..af681ad336 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -31,6 +31,15 @@
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