Closed noonian closed 8 years ago
Hi,
Thank you a lot for spotting the issue and for the PR!
I was wondering if we should assign the new Fallback
property on L.TileLayer
for commonjs as well?
Please what is the common / best practice in commonjs world for such plugins?
Not sure exactly how to do it though… (sorry I am not very familiar with commonjs)
Thank you!
Hello. Thanks for writing this library!
TL.Fallback does not get assigned in commonjs/requirejs environments. This change updates the Leaflet constructor so it works in those environments.