mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +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}`;
|
||||
}
|
||||
|
||||
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);
|
||||
|
||||
// https://esri.github.io/esri-leaflet/api-reference/layers/basemap-layer.html
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user