leaflet-extras/leaflet-providers

TypeError: L.tileLayer.provider is not a function.

phpmods opened this issue · 2 comments

Unfortunately, whenever I try to load the map on my website I get the following error.
TypeError: L.tileLayer.provider is not a function. (In 'L.tileLayer.provider(opts.provider)', 'L.tileLayer.provider' is undefined)
The website is this: http://va.hkrscoc.com/index.php/acars and the map is not loading right.

Dont't know what you are trying to achieve but i see 4 occurrences of leaflet.js in you page and 2 occurrences of leaflet-providers.js + the fact that your page throw 2 errors which could be the source of your problem. Fix all theses mistakes, and we may be able to help you.

No news about this, closing.