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
483 stars 167 forks source link

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

Open carys23 opened 2 years ago

carys23 commented 2 years 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.