Click events in choropleth_mapbox WITHOUT Dash

Hi all,

I’ve got a that I’m generating in Python and exporting as HTML using .write_html(). Is it possible to capture click events in the mapbox without resorting to Dash? I’ve found examples of callbacks with FigureWidget, but not with mapbox. I’m hoping there’s a way to click on a layer on the map and have that open a new webpage. For example, if the user selected a particular country’s layer on the map, a new page would open focused on that map.

Thoughts? Is this just not possible?

Cheers all,

Hey, did you ever find a solution for this?