'Query of coordinate data in Folium (ClickForMarker)
everyone, I am currently creating a small project with python / django.
I would like to develop a tool in which the user can mark a point on a map - and then send it off using the "Remember address" button. This data should then be stored in the database.
I use Folium / Leaflet for this. With the function "ClickForMarker" I can already mark points on the map.
Now to my question :)
- Currently, a new marker is placed with each click - however, I would like that if a user clicks several times, the marker is always updated.
- How can I read out the data (coordinates). Or do I have a "Send data" button below the map - can I process the post request with the data?
I don't think I have to mention that I'm still a beginner - with Javascript, for example, I only know very little.
I'm happy about any help :)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
