Leaflet.timeline
Leaflet.timeline copied to clipboard
Confused about the scripts
The demo at http://skeate.github.io/Leaflet.timeline/earthquakes.html as well as the code in /examples
use a different JavaScript file than shown in /src
.
leaflet.timeline.js
is only found in the demo while Timeline.js
and TimelineSliderControl.js
are not used. I'm guessing the demo is more up to date.
The Readme refers to the two "unused" JavaScript files too.
The problem with leaflet.timeline.js
is that it is minified and therefore difficult to debug. I can't remember where I found this.
Thank you for listening and looking forward to using this script.
Update: made my own unminified leaflet.timeline.js
by putting Timeline.js, TimelineSliderControl.js and IntervalTree together in one script. Works with the demo, so will proceed to experiment. Plus I get the same error when used in my app, but hope will have better luck debugging.