You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Collision detection for symbol features is broken #6628
While debugging #6055, I noticed that symbol features in which placement calculation is performed - icon-ignore-placement is set to false - all features are rendered, including ones that should have been hidden due to collision with other visible features.
This is probably caused by a bug in CollisionTile implementation - which currently contains a few discrepancies from GL JS implementation - e.g. #6410 (comment).
Other particularity I've noticed is that this issue mostly happens when we're on a fractional zoom level - I'm attaching a unit test to this to clarify.
Activity
brunoabinader commentedon Oct 7, 2016
Other particularity I've noticed is that this issue mostly happens when we're on a fractional zoom level - I'm attaching a unit test to this to clarify.
brunoabinader commentedon Oct 17, 2016
It turns out most of the issues I've perceived while debugging collision detection were caused either by symbol annotations not having a buffer on each neighbor tile to improve collision detection or duplicated collision results caused by a corner case when a symbol anchor is placed on tile edges.
This only leaves some issues related with perspective collision detection, which are handled in #6630.