Skip to content

Show a warning overlay when base map tiles fail to load #157

Description

@lcalisto

When the configured base tile source (Martin serving bathymetry PMTiles) is missing or unreachable, maps render silently blank, in a fresh dev environment (empty sample-data/pmtiles/) users don't realise the map widget is there.

MapLibre can emit error events for failed sources/tiles the map web components could listen and show a small overlay ("base map unavailable") so the failure is visible, in dev and in production.

@ricardogsilva I can do this, its easy. If you see any disadvantage just let me know.

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