I would like to simply get map coordinates from a click event but can’t figure it out. I can access the scatter data that’s overlayed but I want to get to the map itself.
Is it even possible to access Mapbox events in Dash?
I would like to simply get map coordinates from a click event but can’t figure it out. I can access the scatter data that’s overlayed but I want to get to the map itself.
Is it even possible to access Mapbox events in Dash?
I an not sure about the Plotly maps, but in Dash Leaflet, you can get the click events. See e.g. example 1 here,
where the clicked lat lon is captured.