mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Disable double click zoom action.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1087
This commit is contained in:
parent
2dfe1420bc
commit
c063a638cd
@ -30,7 +30,7 @@ function formatLatLng(latLng) {
|
|||||||
return `${lat}°${ns} ${lng}°${ew}`;
|
return `${lat}°${ns} ${lng}°${ew}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
const map = L.map("map").setView([0, 0], 3);
|
const map = L.map("map", { doubleClickZoom: false }).setView([0, 0], 3);
|
||||||
L.control.scale({ maxWidth: 200 }).addTo(map);
|
L.control.scale({ maxWidth: 200 }).addTo(map);
|
||||||
|
|
||||||
// https://esri.github.io/esri-leaflet/api-reference/layers/basemap-layer.html
|
// https://esri.github.io/esri-leaflet/api-reference/layers/basemap-layer.html
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user