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.

MapMode::Still will never complete if requests fail #1565

Closed

Description

@tmpsantos

We are currently not handling the case when tiles, glyphs or sprites fail to load.

  • In case of a glyph or sprite failure, the tile will be in a partial state forever and specially when rendering MapMode::Still, it will hang there indefinitely because the exit condition is all the tiles being on the parsed state.
  • In case of a tile fails to load, it will go back to the invalid state which will cause a re-request of the tile. If the tile is corrupt on the server or if the server is down, etc it will cause an endless cycle of re-requests.

Probably the cause of: https://github.com/mapbox/node-mapbox-gl-native/issues/114

/cc @mikemorris

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions