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.
Since SpriteAtlas never deletes unused sprite images, the MBGL renderer silently drops images used in line and symbol placements (not silent if you turn on debugSpriteWarnings). This effectively means we are not rendering symbols even though they are not colliding with any other symbols.
I've included details below:
Whenever an image needs to be used in a symbol or as a pattern in line or fill, it needs to be first bin - packed into the SpriteAtlas.
When BinPacking fails, the renderer silently drops those symbols even though Collision detection wouldn't have dropped those symbols otherwise.
Since SpriteAtlas is shared between map sprites and user annotation images, one could theoretically fill up the SpriteAtlas with distinct images. Once that happens no symbols will be rendered.
Since SpriteAtlas never deletes unused sprite images, the MBGL renderer silently drops images used in line and symbol placements (not silent if you turn on debugSpriteWarnings). This effectively means we are not rendering symbols even though they are not colliding with any other symbols.
I've included details below:
Since SpriteAtlas is shared between map sprites and user annotation images, one could theoretically fill up the SpriteAtlas with distinct images. Once that happens no symbols will be rendered.