Skip to content

Cached map tiles not accessible in offline mode #1791

@Self-Perfection

Description

@Self-Perfection

Current Behavior: Map tiles are cached but not usable offline; shows empty grid
Expected Behavior: Cached tiles should display when offline


As far as I can tell Aves caches map tiles from base layers. I have concluded this from following observations:

  • Viewing new map area increases occupied cache space
  • If area have been already viewed, its map shows faster

But these cached tiles are not used in offline mode. If there is no internet connection then map viewer shows empty grid.

This is even worse for "OSM Liberty". Without internet connection it shows this:

Image

It seems to me that https://tile.ourmap.us/data/v3.json is fetched before each showing of this layer. For instance, it seems to load slower on unstable connection, like slow 3G.

Consider caching the v3.json file to avoid blocking display of already-cached tiles

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2random bugs & feature requestspage:maptype:featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions