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

Add a bounding box parameter to URL #13

Closed
pcav opened this issue Jun 5, 2013 · 6 comments
Closed

Add a bounding box parameter to URL #13

pcav opened this issue Jun 5, 2013 · 6 comments

Comments

@pcav
Copy link
Collaborator

pcav commented Jun 5, 2013

so to be able to have a link that points directly to a specific location. See qgis-web-client for an implementation (permalink)

@mdouchin
Copy link
Collaborator

mdouchin commented Jun 7, 2013

First step done (not yet commited). Added the ability to use a bbox parameter to zoom to a chosen location. I will also add an option in the plugin to allow the user to set the initial extent.

@pcav
Copy link
Collaborator Author

pcav commented Jun 8, 2013

Thanks. What is the syntax for adding the parameter?

@mdouchin
Copy link
Collaborator

mdouchin commented Jun 8, 2013

It will be simply be
&bbox=xmin,ymin,xmax,ymax
I will push it monday morning when I come back to the office.

@pcav
Copy link
Collaborator Author

pcav commented Jun 16, 2013

Hs this been committed?
Thanks.

@mdouchin
Copy link
Collaborator

This has not been implemented with a bbox parameter but with 3 parameters : lon, lat & zoom level. You can zoom on any location, then use the "Permalink" link in the top right corner of the map. For example
https://demo.lizmap.3liz.com/index.php/view/map/?repository=montpellier&project=montpellier&lon=429583.78346480185&lat=5405628.442062924&zoom=4

@pcav
Copy link
Collaborator Author

pcav commented Jun 19, 2013

BBOX seems more standard, and easier to use in many contexts: would it be possible to add both syntaxes?

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

No branches or pull requests

2 participants