You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Folium is a simple wrapper around Leaflet and its plugins. As far as I can see, the underlying plugin https://github.com/Leaflet/Leaflet.heat/ does not support what you ask.
One possible workaround you could explore (and it requires a little javascript) is to add an event handler on the "zoomend" event. You could then recalculate radius in pixels based on extent of the map visible. It is tricky however. Geographical circles (on the globe) are not exactly circles on the map projection.
Rather than defining the radius by pixels.
The text was updated successfully, but these errors were encountered: