socib / Leaflet.TimeDimension

Add time dimension capabilities on a Leaflet map.
MIT License
433 stars 138 forks source link

this._timeDimension.getAvailableTimes is not a function #226

Closed dhirajshrotri closed 11 months ago

dhirajshrotri commented 11 months ago

I am trying to integrate time-dimension with react-leaflet. I am using the Temperature example from IBL software engineering as a reference. I am getting this error while running the example:

Error in /turbo_modules/leaflet-timedimension@1.1.1/dist/leaflet.timedimension.src.js (1544:44) this._timeDimension.getAvailableTimes is not a function

Here is a link to stackblitz with my code. I am not able to figure out what I am doing wrong. Is there any documentation regarding this ?

Link