Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UPDATE] Initial View layersIds #2370

Closed
1 task done
jolevesq opened this issue Jul 12, 2024 · 0 comments · Fixed by #2386
Closed
1 task done

[UPDATE] Initial View layersIds #2370

jolevesq opened this issue Jul 12, 2024 · 0 comments · Fixed by #2386
Assignees

Comments

@jolevesq
Copy link
Member

Is there an existing issue for this?

  • I have searched the existing issues

Who request this Feature

Geo.ca

User Story

As a map creator, I would like to zoom to all layers extent on load without to have to specify them manually. This is use when we create automatic map from geocore layers with the data-geocore tag

Implementation UI

If my configuration has the initialView layersIds empty, Use all layers provided to calculate the extent.

"viewSettings": {
            "initialView": {
                "layerIds": []
            },
            "projection": 3978
        },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants