-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Added script for restriction of map extent #83
base: master
Are you sure you want to change the base?
Conversation
Thanks for your contribution. Can you give us the Lizmap Web Client versions compatibility ? |
Works on LizMap 3.7+ :) |
Thanks for your contribution @wojtek19022 @wojtek19022 Each JS file must be included in a sub-folder. So you should rename your file from |
Sure, I'll do it in a next commit. @Gustry I'll also make some tests on working with for example lizmap 3.6 and 3.8 |
@Gustry I conducted tests on both LizMap 3.6.13 and 3.7.9. It was working really well. It also worked on 3.8.2 but in my opinion there was something wrong with calculation of extent because it went above the extent in a certaint buffer |
library/ui/restrict-extent/README.md
Outdated
@@ -0,0 +1,3 @@ | |||
## Resctrict area | |||
|
|||
Script limits an area for a user to go around a map. For example if you have data only in a certain country, you can limit an area of a map to a certain predefined in QGIS extent like at the video below. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about which video you are referring too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yeah my bad. That was a copy from some other README. I'll change it right away
@Gustry I also changed supported version of lizmap because it worked also on older LizMap and in some way in 3.8 |
You need to rename it to |
Oh sorry. I'll remember it for future commits. In that case i'm gonna rename it as you said |
This problem is resolving this issue: 3liz/lizmap-web-client#786