Add marker on map using mouse click


#1

Hi

Is it possible for the user to put a marker on the scattermap with a mouse click?
I would like to do a radius selection based on user input position via mouse click.

I’ve been googling…and could not find anything.

Thanks in advance.

VH


#2

Basically I have a dashboard where the user can select points on the map based on a radius from the center. The radius can be selected using a slider.

Now I need the user to be able to select a new center on the map. Any help or ideas will be really appreciated.


#3

You may be able to use the clickData event on your graph to pass a new center on your plot. You can find out how in the interactive part of the user’s guide: https://dash.plot.ly/interactive-graphing