Leaflet.TimeDimension
Leaflet.TimeDimension copied to clipboard
Object returned by module on an ES6 environment
Maybe partially related to #124.
There is a reason why the UMD bundle returns L.TimeDimension instead of L.timeDimension?
https://github.com/socib/Leaflet.TimeDimension/blob/9ef51eb8d6d2c7ad1bddf45b1110f983ea978d00/dist/leaflet.timedimension.src.js#L2251
From issue 124 I went through PR https://github.com/socib/Leaflet.TimeDimension/pull/129 so I know this came from a suggested way to do from Leaflet documentation, but in your case every usage example in the documentation pass through using L.timeDimension.
Getting back "only" the TimeDimension is pretty useless, so you must always rely on the global L object.