Dash-leaflet access the underlying map instance from

I previously has a leaflet application written in javascript. I am experimenting with Dash because there are many other visualizations I’d like to add to the map.

The leaflet API is extensive. A lot of time I experiment with it in the browser console. They all involve the map instance and the L reference. For example, I use this to interactively try out some calculation.

var southWest = map.unproject([0, h], map.getMaxZoom());

What is the counter part in dash-leaflet?

I dont believe there is any direct way to access the object. But you could bind it to global scope in a callback to allow that kind of debugging :slight_smile: