johan/add-api #7
1 changed files with 3 additions and 1 deletions
|
@ -111,7 +111,9 @@ function initMap(btn) {
|
||||||
}
|
}
|
||||||
|
|
||||||
L.tileLayer('https://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png', {
|
L.tileLayer('https://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png', {
|
||||||
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
|
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
|
||||||
|
maxNativeZoom: 19,
|
||||||
|
maxZoom: 19
|
||||||
}).addTo(map);
|
}).addTo(map);
|
||||||
|
|
||||||
map.on("zoom move", () => {
|
map.on("zoom move", () => {
|
||||||
|
|
Loading…
Reference in a new issue