Open vincentfs opened 7 years ago
Hi, It seems that the current version does not fully support Leaflet L.polyline object, or am I missing something?
I can do addTo method with L.polyline like:
addTo
L.polyline(latlngs, {color: 'red'}).addTo(S.map)
But the addTo method will show the polyline eternally from the beginning slide. If I change addTo to addRemove, it breaks the code and won't work.
addRemove
Any solutions?
Hi, It seems that the current version does not fully support Leaflet L.polyline object, or am I missing something?
I can do
addTo
method with L.polyline like:L.polyline(latlngs, {color: 'red'}).addTo(S.map)
But the
addTo
method will show the polyline eternally from the beginning slide. If I changeaddTo
toaddRemove
, it breaks the code and won't work.Any solutions?