Skip to content
This repository was archived by the owner on Nov 21, 2024. It is now read-only.
This repository was archived by the owner on Nov 21, 2024. It is now read-only.

Check whether tiles are already cached. #46

@arenol

Description

@arenol

I have an application that is supposed to work on cell phones out it the forest without mobile coverage. Hence, it is possible to cache the maps before going out, and I've used PouchDBCahed for this purpose.

The application can be found here, and the tiles can be cached by pressing the blue button below the map.

First time, it takes a few minutes to cache all tiles upon startup.

When you open the page a later time and then press the blue button, it takes only a few seconds to cache all the tiles.

This suggests that the tiles are still in the cache.

Is there a way I can check for this when initializing the map, so I can use the cache and gray out the blue button right at the start?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions