-
-
Notifications
You must be signed in to change notification settings - Fork 145
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
map extent #786
Comments
Can you provide some URL and configuration ? |
I invite you to define a larger max scale. You defined the max scale to 70000, but this scale is to small to covering the extent you defined. |
Ok, now the max scale is 100000, but I would like the map to be blocked at the viewing limits |
We have made the restrictedExtent olarger than the mapExtent to easily explore the limit of the map. lizMap.events.on({
uicreated: function(e) {
lizMap.map.restrictedExtent = lizMap.map.maxExtent;
}
}); |
I've send this piece of script to this repo: https://github.com/3liz/lizmap-javascript-scripts Waiting for acceptance of PR 3liz/lizmap-javascript-scripts#83 |
I setting in box initial map extent "set from project properties"
but in the webmap it is possible move the background' map
out of the setting.
I tried setting "set from map canvas" but it is the same.
Tanks
The text was updated successfully, but these errors were encountered: