1.0.2 • Published 4 years ago

leaflet.marker.historytrace v1.0.2

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

historyTrace

A Leaflet plug-in to show a history trace

Demo sample.html

How to use

    var latlngs = [
        [39.5, 110.5],
        [37.7, 109.1],
        [37.7, 110.5],
        [38.7, 110.2]
    ];
    var hisOptions = {
        durationTimes: [3000],//[3000,2000,4000]
        lineColor: "green",
        loop:false//loop
    }
    var marker = L.Marker.historyTrace(latlngs, duration).addTo(mymap);
    marker.start();
1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago