Skip to content

Let geoview handle the default zoom for datasets with maps #62

@jaredkinger

Description

@jaredkinger

Currently the app is trying to zoom to the coordinates provided by the VCS but this is causing an issue with datasets containing coordinates spanning from -180 to 180 longitude.

Here is an example: https://app.geo.ca/en-ca/map-browser/record/8b83fd58-5953-4b80-8009-94d44ff89844

In the above dataset the zoom ends up focusing in on Alaska even though there are features across Canada.

Geoview has an initial zoom feature built in that will fix this. Have a look at this Geoview Demo

In this scenario the geoCore ID is all that needs to be included in the layerIds array for the initialView.

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