-
-
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
Selection from a popup feature geometry not working #70
Comments
Hi gioman, |
@altheaFeu thanks for the reply. The script is 2 years old, with no recent changes, so does not seems to be the case(?).
unclear to me what I should test. The first link does not point to a specific project, the second one points to a project that has no selection tool available. |
You can choose any project you want for the first one. They are all using LMWC 3.6.
I expressed myself poorly. If you type Uncaught TypeError: lizMap.mainLizmap.digitizing.drawLayer.getSource is not a function You won't face an error if you do the same thing with LMWC 3.7 project. I suspect that the issue originates from the version of your LMWC. |
@altheaFeu but the js code is 2 years old with no changes in the meantime, this means that it has been created as it is long before LM 3.7. |
@gioman Indeed, in this case, I wouldn't be able to tell where the error comes from. |
@altheaFeu thanks anyway! |
@altheaFeu thanks! |
Thanks @altheaFeu for all contributions ! Very appreciated. I didn't get time last week to review (I was in Grenoble for the QGIS user conf where I met some of your company :) ) Sorry, but did you have a instance with LWC 3.7 running ? Of course, if your files are on API that didn't change in LWC 3.7, there is no issue, but I will need to ask my colleagues for the review (@nboisteault mainly) |
@Gustry You're welcome ! I'm currently working on Lizmap projectsat the place where I'm doing my apprenticeship. We're developing JS tools, and since we're using an open-source solutions, it seems only natural to share my work as open source (It's afterall one of the primary objective of open-source).
Unfortunately, I'm using an LWC 3.5 instance. But I'll try to install a 3.7 version on my personal computer if I find the time outside of my classes and my apprenticeship hours (so it's not guaranteed). |
If the PR makes the script work on LM 3.6 is well worth the merge, many are holding on the move to LMWC 3,7. |
I believe that my test project is ok, configured as explaine in the script readme. Using QGIS Server/Desktop 3.28.15 and LMWC 3.6.10
When clicking on the icon/star in the feature popup (to trigger the selection on the other layers) the dev console shows this:
The text was updated successfully, but these errors were encountered: