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

Front-end implementation default zoom extent #189

Closed
martinapippi opened this issue Aug 7, 2023 · 0 comments · Fixed by #191
Closed

Front-end implementation default zoom extent #189

martinapippi opened this issue Aug 7, 2023 · 0 comments · Fixed by #191

Comments

@martinapippi
Copy link
Collaborator

The GetCapabilities now returns a boundingBox with each extend.

For example:

 "boundingBox" : {
      "crs" : "EPSG:3857",
      "minx" : "239612.46669136",
      "maxy" : "7134767.39956839",
      "maxx" : "0.00008109",
      "miny" : "0.00045506"
    } 

https://rwsos-dataservices-ont.avi.deltares.nl/iwp/test/FewsWebServices/wms?request=GetCapabilities&format=application/json

The bbox should be used to set the default zoom, if the user has already zoomed inside the bbox the zoom should not change.

@martinapippi martinapippi linked a pull request Aug 8, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant