diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2020-01-31 14:42:12 +0200 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2020-02-03 21:26:35 +0200 |
commit | 1f5c6beb64805180a4b4724bc1e5b758b9ae4494 (patch) | |
tree | 8e93891a909a5d00d9b1662d5420c20b6b8e2377 /metrics/expectations/platform-all/render-tests | |
parent | b64ed754442b894f3914a4191798fbd2f2bc8cd9 (diff) | |
download | qtlocation-mapboxgl-1f5c6beb64805180a4b4724bc1e5b758b9ae4494.tar.gz |
[tile mode] Improvements in symbol placement on tile borders
This change fixes the following problems:
1) Before this change, when multiple symbols were grouped close to the
tile borders, different tiles could place different symbols, because each
tile arbitrary assigned feature ids, and these ids defined the placement
order being applied. This caused artifacts at the tile boundaries.
With this change, in tile mode the placement order of two symbols crossing
a tile border is defined by their anchor `y` values. It means that the
symbols are being placed the same order across all the tiles.
2) Before this change, the engine did not place with priority the symbols
crossing the borders between two neighboring tiles. Now it does, and it
improves a lot symbol placement stability in the tile map mode.
Diffstat (limited to 'metrics/expectations/platform-all/render-tests')
-rw-r--r-- | metrics/expectations/platform-all/render-tests/text-variable-anchor/all-anchors-tile-map-mode/expected.png | bin | 158810 -> 160213 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/metrics/expectations/platform-all/render-tests/text-variable-anchor/all-anchors-tile-map-mode/expected.png b/metrics/expectations/platform-all/render-tests/text-variable-anchor/all-anchors-tile-map-mode/expected.png Binary files differindex 8b02991f2f..75af66e6a0 100644 --- a/metrics/expectations/platform-all/render-tests/text-variable-anchor/all-anchors-tile-map-mode/expected.png +++ b/metrics/expectations/platform-all/render-tests/text-variable-anchor/all-anchors-tile-map-mode/expected.png |