python-visualization / folium

Python Data. Leaflet.js Maps.
https://python-visualization.github.io/folium/
MIT License
6.86k stars 2.22k forks source link

Dynamically update marker / heatmap data #857

Closed anderl80 closed 6 years ago

anderl80 commented 6 years ago

Can I update the marker /heatmap locations dynamically without loading the whole new figure?

Conengmo commented 6 years ago

This is not possible with folium. folium generates the html and mostly javascript, from there it's outside of Python and in your browser. If you want to do dynamic locations you would need to look into Leaflet, the javascript library that actually makes the maps.

Also see #848