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

Flickering symbol layers when tiles are refreshed #7615

Closed

Description

@jfirebaugh

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.

Activity

  1. jfirebaugh commented on Jan 6, 2017

    @jfirebaugh
    ContributorAuthor

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

  2. self-assigned this
    on Jan 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions