Disable double click zoom action.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1087
This commit is contained in:
Dan Albert 2021-05-16 21:59:48 -07:00
parent 2dfe1420bc
commit c063a638cd

View File

@ -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