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

Provide a getter for map config that accesses the OL map state #909

Open
silvester-pari opened this issue May 2, 2024 · 1 comment
Open
Labels
enhancement New feature or request map

Comments

@silvester-pari
Copy link
Collaborator

Instead of relying on the config property of eox-map, a getter for the current state of the map could be useful, that directly checks things as vanilla OL layers, view settings etc.

@silvester-pari
Copy link
Collaborator Author

This turns out to be not possible with the current setup, as we don't have information over the layer/source types. One would have to import all layer/source types, and then loop through all layers, and check if it's an instance of any of the imported layers/sources etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request map
Projects
None yet
Development

No branches or pull requests

1 participant