symbol-sort-key
placement behavior appears to fail along tile boundaries when icon-allow-overlap
is false
.
#8896
Labels
mapbox-gl-js version: 1.4.1
browser: Chrome 77.0.3865.120 and Safari 13.0.1 (14608.2.11.1.11)
Steps to Trigger Behavior
symbol-sort-key
and a Feature 2 with a highersymbol-sort-key
whose icon collides with the Feature 1 but is in the tile either to the west or north of the tile of the Feature 1.Link to Demonstration
The demonstration allows you to toggle between Feature 2 being in the tile to the west, east, north, or south of the tile of Feature 1. Green icon is the Feature 1, red icon is the Feature 2.
https://jsbin.com/favowijosu/2/edit?js,output
Expected Behavior
Feature 1 (having the lower
symbol-sort-key
) should be shown and Feature 2 (having the highersymbol-sort-key
) should be hidden due to collision.Actual Behavior
Feature 2 is shown and Feature 1 is hidden.
The expected behavior is seen if Feature 2 is in the tile to the east or south of Feature 1.
The text was updated successfully, but these errors were encountered: