socib / Leaflet.TimeDimension

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

Issue with getURL() not a function #160

Closed ISURU9900 closed 5 years ago

ISURU9900 commented 5 years ago

When I'm using the plugin in my website following error occured. could you tell me what has happened?

       Uncaught TypeError: this._baseLayer.getURL is not a function (leaflet.timedimension.min.js:17)
          at e._createLayerForTime (leaflet.timedimension.min.js:17)
          at e._getLayerForTime (leaflet.timedimension.min.js:17)
          at e._update (leaflet.timedimension.min.js:17)
          at e.onAdd (leaflet.timedimension.min.js:17)
          at e.onAdd (leaflet.timedimension.min.js:17)
          at e._layerAdd (leaflet.js:5)
          at e.whenReady (leaflet.js:5)
          at e.addLayer (leaflet.js:5)
          at e.addTo (leaflet.timedimension.min.js:17)
          at app.html:169
ISURU9900 commented 5 years ago

it was fixed after relevant js files were called