I have been wondering over inconsistencies in the units animation speed. In the Readme, motionOptions.speed is described explicitly as "Motion speed in KM/s, yes, kilometers per second". In the bottom, motionSpeed() is described as expecting km/h. MotionSpeed() just assigns its given parameter to the motionOption, which in leaflet.motion.js, line 26, is commented with "KM/H". On the other hand, Utils.getDuration() asks for speed in "km/s" but it receives the motionOptions.speed which is supposedly in km/h when called by motionStart().
Could it be that in fact all of the values are actually km/s and are just mislabeled?
Thanks!
I have been wondering over inconsistencies in the units animation speed. In the Readme, motionOptions.speed is described explicitly as "Motion speed in KM/s, yes, kilometers per second". In the bottom, motionSpeed() is described as expecting km/h. MotionSpeed() just assigns its given parameter to the motionOption, which in leaflet.motion.js, line 26, is commented with "KM/H". On the other hand, Utils.getDuration() asks for speed in "km/s" but it receives the motionOptions.speed which is supposedly in km/h when called by motionStart(). Could it be that in fact all of the values are actually km/s and are just mislabeled? Thanks!