I'm using file:///C:/path/tiles/{z}/{x}/{y}.png like url of tileLayer but it doesn't work and no error is shown.
file:///C:/path/tiles/{z}/{x}/{y}.png
var layer = new L.tileLayer("file:///C:/OSM/tiles/{z}/{x}/{y}.png", { minZoom: 1, maxZoom: 15}).addTo(map);
Any idea?
No comments:
Post a Comment