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 166 forks source link

No animation when the difference between timestamps exceeds 300.000ms #25

Closed robertboensma closed 9 years ago

robertboensma commented 9 years ago

When creating an own LatLon array + timestamps it occurred to me that the time difference between two coordinates can not exceed 300.000ms (Unix timestamp in ms); it will not animate anymore. I tried to play around with the settings, but without success. Am I overseeing something or is this a bug?

hallahan commented 9 years ago

Did you figure this out? I have used data with time stamps hours apart without a problem.

robertboensma commented 9 years ago

Yes, some error in my code did not update the maxInterpolationTime. It is working flawless now!

hallahan commented 9 years ago

Great!