I'm new to folium, I'm trying to see if my JS Leaflet code would work in folium.
In my JS I have a polygon that when a message comes in updates it's color:
Ex. Polygon (JS)
polygon = L.polygon(latlngs, {color: 'red'}).addTo(mymap);
Then when a message comes through I just:
polygon.setStyle({color: 'purple'});
And it just updates in real time.
Is this possible to do with folium, it seems like folium is meant for static maps not dynamic ones?
I'm new to folium, I'm trying to see if my JS Leaflet code would work in folium.
In my JS I have a polygon that when a message comes in updates it's color:
Ex. Polygon (JS)
polygon = L.polygon(latlngs, {color: 'red'}).addTo(mymap);
Then when a message comes through I just:
polygon.setStyle({color: 'purple'});
And it just updates in real time.
Is this possible to do with folium, it seems like folium is meant for static maps not dynamic ones?