Skip to content

Restrict zooming and panning on the data inspector #2325

@CommanderStorm

Description

@CommanderStorm

Currently, we just show 0/0/0 in the inspector in the fronted.

This works for global datasets, but does not for more local datasets.
For these smaller datasets, we should restrict our zoom to the extent of the dataset.

As a visualisation:

Image

Currently shows as:

Image

On the frontend, we currently don't store the bbox + min/maxzoom.
We need to either:

  • take data that maplibre-gl-js already fetched
  • or fetch the tilejson ourselves

The data about this is not avaliable in the catalog, so won't be avaliable to the frontend without extra work.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions