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.

GlyphAtlas needs a better way to keep track of tiles #957

Closed

Description

@kkaefer

The GlyphAtlas currently tracks glyphs by tile ID and removes the glyph if no tile exists that uses the glyph anymore. However, there can be multiple tiles with the same ID, but from different sources. Instead of tracking per ID, we should e.g. use the TileData pointer as a key.

Activity

  1. ansis commented on Mar 6, 2015

    @ansis
    Contributor

    A part of the problem in #832 might be that the glyph atlas isn't properly cleaned up when sources are destroyed. In -js, GlyphAtlas is now part of the Style object, so whenever the style changes the atlas is blown away and we start from scratch.

  2. incanus commented on Mar 11, 2015

    @incanus
    Contributor

    If I'm understanding correctly from #832 (comment), the GlyphAtlas could be garbling text because of this. This seems to be in effect anytime there is more than one vector source, which is impacting #893 annotations as well.

    Adding to iOS beta milestone.

  3. added this to the milestone on Mar 11, 2015
  4. self-assigned this
    on Mar 12, 2015
  5. incanus commented on Mar 12, 2015

    @incanus
    Contributor

    Keeping this on beta 1 milestone. @jfirebaugh I know you're gonna take a look — this is top of my list for blocking annotations right now.

  6. jfirebaugh commented on Mar 13, 2015

    @jfirebaugh
    Contributor

    ⇢ #995

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions