Skip to content

Switching between pages of PMTiles Viewer requires re-upload of file #581

@jamesscottbrown

Description

@jamesscottbrown

In the PMTiles viewer, switching between the 3 views (map/archive/tile) requires the .pmtiles file to be re-uploaded, which is inconvenient. This is particularly annoying when following the links in the offset column of the archive page to the tile page.

(Not that this only applies to locla files uploaded through the browse: if you have entered the URL of a file, then the page you navigate to is able to re-load it from the URL.

One way to address this wouild be to switch to a Single Page App, and use something like react-router to render separate MapView/ArchiveView/TileView components, whilst storing the uploaded file somewhere above them in the component hierachy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions