Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Flickering symbol layers when tiles are refreshed #7615

Closed
jfirebaugh opened this issue Jan 6, 2017 · 1 comment
Closed

Flickering symbol layers when tiles are refreshed #7615

jfirebaugh opened this issue Jan 6, 2017 · 1 comment
Assignees
Labels

Comments

@jfirebaugh
Copy link
Contributor

Tile layout is a two step process: first layout is performed for all non-symbol layers, then symbol layers are placed. Upon completion of the first step, GeometryTile sets its buckets to the result of that step, which will not contain any symbol buckets. Upon completion of the second step, it merges in symbol buckets.

When cached tiles are revalidated and new data is available, or when the tile layout needs to be refreshed due to runtime styling changes, the result of tile layout is intended to seamlessly replace the previously existing layout. However, due to the way that GeometryTile is currently implemented, any delay between the two steps can lead to flickering symbol layers, because previously existing symbol buckets are effectively discarded upon completion of the first step, and not replaced until the second step completes.

GeometryTile could avoid this effect if it kept symbol and non-symbol buckets segregated, discarding prior symbol buckets only when new symbol buckets became available.

@jfirebaugh
Copy link
Contributor Author

This is the first bullet point in #7026 (comment).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant