Python Forum
interactive map and function
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
interactive map and function
#1
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
Reply
#2
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Interactive plots that can be embed in web page mouse9095 1 595 Jun-12-2023, 04:51 PM
Last Post: deanhystad
  Interactive Menu, String Search? maggotspawn 3 2,579 May-11-2020, 05:25 PM
Last Post: menator01
  for / else not working in interactive mode Skaperen 4 2,556 Jul-17-2019, 06:16 PM
Last Post: Skaperen
  Problem with interactive python prompt Groot_04 4 3,130 Aug-02-2018, 08:39 AM
Last Post: Groot_04
  tale interactive fiction - looking for tutorial aryell8linx 1 2,643 May-29-2018, 12:41 PM
Last Post: Larz60+
  Filtering an interactive CLI command via pipe(s) Skaperen 2 4,160 Nov-23-2016, 09:17 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020