LeafletPlayback icon indicating copy to clipboard operation
LeafletPlayback copied to clipboard

Slider control unresponsive after loading new tracks

Open tomaberta opened this issue 8 years ago • 3 comments

Hello,

I am having this issue regarding the slider (I am currently testing on example 2 - the one that is created in the html code): I add the data to the map, the track is working - it shows all my coordinates, the POI image is showing, but the slider is sort of disabled. I used the 'playback.addData' function, but I cannot scroll at all the slider's button to move around the POI icon.

Have you encountered this ? If you did, how did you surpass this problem?

1000 thanks in advance. Berta

tomaberta avatar Jun 01 '16 16:06 tomaberta

Sometimes the slider acts funny if the original tracks take place in a very different time than the tracks that you have added.

hallahan avatar Aug 04 '16 22:08 hallahan

you must change this on line 987 aprox this._map.fire('playback:set:data'); to this this._map.fire('playback:add_tracks');

efabian1 avatar Oct 10 '16 23:10 efabian1

Thanks efabian1 - that answered my question on this; the slider max/min didn't get reset when I cleared/re-added GeoJSON sets.

weshinsley avatar Oct 25 '16 17:10 weshinsley