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-07 18:56:27 +0300
commit4327c2e164eda27bf048118f080647dd92054f75 (patch)
tree4ded647119699df4c975cc52801a2b1ded0fdeb3
parent15086b99fe3a0b950c097f93f2d4a747f5b95827 (diff)
downloadqtlocation-mapboxgl-upstream/mikhail_tile_mode_placement_fixes_2.tar.gz
-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