-
Notifications
You must be signed in to change notification settings - Fork 233
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
Measure not visible on layers #141
Comments
This is because qgis2web export each layer to its own pane in order to control zIndex. I don't think the measure plugin exposes which pane it is added to, so there is no solution at this point. |
The solution I found was to change the transparency of the layers by 50%. It is not ideal but if the measure plugin is important for your work, it was the alternative. In my case, I think I will disable the measure until we have a definitive solution. |
I've tried adding support to pass in a https://github.com/tomchadwin/leaflet-measure/blob/master/src/leaflet-measure.js#L41 |
The same problem happens with another "search" plugin, when viewing the circle. I adopted only the icon as the default and deactivated the circle. |
I found a solution by chance, while I was solving another plugin. I just changed the number of the z Index to the hundred of the 100 in the layers that were obstructing. It was by default 400, 401, 402 ... and the measure at 10000, to no avail. I solved the problems together, now I need to check the search plugin with the invisible circle. |
Confirmed, search circle working and viewing also |
Create a simple project with QGIS and sport through the qgis2web plugin. I added the measure tool, however in layers with polygons it is not possible to see it. Code is the standard generated by the plugin.
qgis2web 3.13.0
The text was updated successfully, but these errors were encountered: