socib / Leaflet.TimeDimension

Add time dimension capabilities on a Leaflet map.
MIT License
435 stars 139 forks source link

Not working with Leaflet 1.5.1 (latest version) #172

Closed DrPDash closed 5 years ago

DrPDash commented 5 years ago

LL Time Dimension Versin: Leaflet TimeDimension v1.1.0 - 2017-10-13

Issue: I'm using (in localhost) TimeDimension with Leaflet 1.4.0 and don t have any issue in its simplest implementation. However, when I changed to LL version 1.5.1, the following error appears in the Chrome Console:

leaflet.js:5 Uncaught TypeError: Cannot read property 'insertBefore' of undefined at i.addTo (leaflet.js:5) at i.addTo (leaflet.timedimension.control.js:192) at i.addControl (leaflet.js:5

Please shar your thoughts or any insight. Thanks

bielfrontera commented 5 years ago

Hi @prasanjitdash, apologies for the delayed response (I'm back to this project after a temporary leave).

I've checked the plugin with Leaflet 1.5.1 and I've not found any error. Could you with us more details about your code?