hallahan / LeafletPlayback

This is a Leaflet plug-in that plays back points that have a time stamp synchronized to a clock.
http://leafletplayback.theoutpost.io
Other
482 stars 165 forks source link

slider does not show correct time once changed with setData() #83

Open carys23 opened 1 year ago

carys23 commented 1 year ago

Slider does not show correct time once changed with setData() it gives the correct markers and time. As you can see in image 1 playback1

But once you hover over with the mouse it goes back to the time that it first had loading the data markers seems correct though as seen image 2. playback2

Also the slider isn't loaded in correct position once new data has been loaded. As you can see in image 3 playback3

I have tried to use playback.clearData() before calling the setData which does the same thing. Any suggests how to fix this problem thank you.