Python Forum

Full Version: interactive map and function
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello everyone
I would like to create an interactive map on Python. (I saw that I could do this with folium). However, I would also like that when I click anywhere on the map, a window would open where I would enter a value. This value would then pass into a function that would also take into account the latitude I clicked on and return the result of this function.
Do you have any idea how I can do this?

Thanks
there are packages for openstreetmap: https://pypi.org/search/?q=map+%2B+Openstreetmap&o=
and google maps: https://pypi.org/search/?q=googlemaps&o=

I write my own, so haven't used any of these. You will have to find those that look promising and try.