-
Notifications
You must be signed in to change notification settings - Fork 363
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 distances and area tool bugging? #1076
Comments
Thank you @giswqs, do you think if I went further back in ipyleaflet versions this could solve the issues. The measure tool does work in Leafmap when using a Folium backend (as you suggested I try), but I need the ability to overlay raster images and to use the functions to work codeless, that come with Leafmap ipyleaflet backend. Is anyone able to help with fixing this bug, please? Thank you in advance for guidance and support. |
I noticed this bug on versions 0.17.1 and 0.17.2, but it work well on versions 0.16.0 and version 0.17.0 |
I too am experiencing this issue. ipyleaflet version = 0.17.2 I was using I was trying to measure the distance from the black pin to the outer black circle, and this is the result in One thing I've noticed is that in the lower right corner, the map attributions show up twice, is that normal? Here's hoping someone has thoughts or ideas of how to fix? One of the reasons I switched from folium to ipyleaflet and leafmap was because folium doesn't work with ipywidgets Thanks! |
The attribution issue has been fixed by the latest version of leafmap. Update it using The measure control issue is indeed an ipyleaflet issue. There is not much leafmap can do about it. It needs to be fixed by iypleaflet. |
@Itayor, thank you so much for suggesting to downgrade to 0.17.0, the measure tool does indeed now work! While the bug is not removed from newer ipyleaflet, and it would be great for ipyleaflet to look at this in the future. This suggestion allows me now to measure in Leafmap, hopefully downgrading does not compromise the rest of Leafmap's functions as it is such a great package! Thank you all for your help! |
Update - checked now ipyleaflet 0.18.0 with MeasureControl I don't know if it would work for previous versions (like 0.17.2) |
The measure distances and area tool appears to have a bug when used in Jupyter notebook, has anyone else experienced an issue?
When I click on the map to begin a measurement the screen shifts on each click (a uniform amount) and the start of the intended measure point shifts? This video demonstrates the issue:
Leaflet_error.mp4
This error occurs on the basemap, without having added additional layers, ruling out a projection issue.
I am trying to use ipyleaflet through leafmap, and so I also created a new environment containing only Leafmap, to confirm it was not a package conflict, and the error still occurs.
The use of the measure tool is integral to my use of ipyleaflet/leafmap, I thank you for any time, support and guidance you can offer.
The text was updated successfully, but these errors were encountered: