Leaflet.TrackPlayBack icon indicating copy to clipboard operation
Leaflet.TrackPlayBack copied to clipboard

Is there a way to remove a "boat" icon after the time has completed for it showing only the line or track points?

Open rasweat opened this issue 6 years ago • 1 comments

I'm testing out your library, but what I have found is if I put a few years worth of data into it the older "complete" arrays of lat and lng still show an icon like they are still moving.

Is there anyway that if the leaflet program has passed the last "time" of the array of the individual item the animated marker can go away?

Example:

var data = [[ {lat:30, lng:-117, time:1500000000, dir:0, info:[]}, {lat:31, lng:-116, time:1700000000, dir:0, info:[]}], [ {lat:30, lng:-118, time:1600000000, dir:0, info:[]}, {lat:31, lng:-116, time:1800000000, dir:0, info:[]}]] ;

For this example how do I make the icon for the first array of data go away (but keep trackLine and/or trackPoint) at time: 1700000001 ?

rasweat avatar Aug 05 '19 18:08 rasweat

Any followup on this one?

adhg avatar Sep 04 '20 15:09 adhg