Help me pls …
-
Help to fix it…
Parts of the map are not displayed correctly…
For correct output, I use this code in the html file.<script> var map = L.map('map').setView([0, 0], 3); L.tileLayer('./{z}/{x}/{y}.png', { noWrap: true, minZoom: 3, maxZoom: 6, tms: true }).addTo(map); var southWest = map.unproject([0, 18435], map.getMaxZoom()); var northEast = map.unproject([16400, 0], map.getMaxZoom()); map.setMaxBounds(new L.LatLngBounds(southWest, northEast)); </script>
https://www.ads-software.com/plugins/mapfig-premium-leaflet-map-maker/
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Help me pls …’ is closed to new replies.