Leaflet : How to update polyline ? Live Tracking

المشرف العام

Administrator
طاقم الإدارة
var ColorVar = '#bd0026'; var firstpolyline = new L.Polyline(polyList, { color:ColorVar, weight: 8, opacity:0.8, smoothFactor: 1 } ); focusId.addLayer(firstpolyline); }On the page load , i have using the above code after that i want to update the polyline based on the new data without page refreshing for Live Tracking Concept.



أكثر...
 
أعلى