I'm looking for a way to export the coordinates from markers on the map in folium. I know that one can get the coordinates over the current mouse position, but I would like to use this information for another problem.
Ideally I would like to be able to move a marker and get the new coordinates of this marker. At the moment my markers are defined as follows:
def add_markers(coordinates, building):
marker = folium.Marker(
location=coordinates,
popup=(f"<stong>{building}</stong>"),
draggable=True)
marker.add_to(map_with_markers)
When I move the marker on the map this is not saved anywhere and also the coordinates of the marker stay the same. Any ideas?