✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

Accessing Mapbox events

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.