diff --git a/src/components/map/Map.tsx b/src/components/map/Map.tsx index 693bdda..48128f6 100644 --- a/src/components/map/Map.tsx +++ b/src/components/map/Map.tsx @@ -290,7 +290,7 @@ const Map: Component = () => { moveTolerance: 10, interactions: new Collection<Interaction>([ new DragRotate(), - new DoubleClickZoom(), +// new DoubleClickZoom(), new DragPan(), new PinchRotate(), new PinchZoom(), @@ -301,7 +301,7 @@ const Map: Component = () => { ]), }); olMap.on(['moveend'], changeListener); - olMap.on(['singleclick'], clickHandler); + olMap.on(['dblclick'], clickHandler); setMap(olMap); });