skeate / Leaflet.timeline

Display arbitrary GeoJSON on a map with a timeline slider and play button
https://skeate.github.io/Leaflet.timeline
ISC License
386 stars 67 forks source link

This plugin seems not compatible to the latest leafletJS #184

Closed uo-zz closed 9 months ago

uo-zz commented 9 months ago

One of our sites is using this plugin. When I upgraded the leafletJS to the latest version 1.9.4, everything on the timeline slider is not working. No errors show in the web browser console as well. Normally if you click the play button, the slide will run. But now nothing happens.

uo-zz commented 9 months ago

OK, I finally figured out the root reason. I used this plugin as well as the LeafletJS in a Drupal 10 site. Drupal 10 now gets rid of the dependency of jQuery. So I remove it from my Drupal 10 build. The the plugin stops working without any error messages. I checked hundreds of times of the plugin in https://www.npmjs.com/package/leaflet.timeline. It doesn't mention any related to jQuery. Anyway, I will close this issue and leave it for people who have the same questions.