Interactive map marker


I would like to know if it is possible to use interactive markers using the scattermapbox. For example: If the user clicks on the marker on the map, I want the app to call a callback function in order to draw another plot. Is this possible?

Thank you very much!

I am not sure about the default Plotly maps, but you can do it with Dash Leaflet. Just add a the appropriate callback to the map click event, see e.g. example 1 here,