Skip to content

Commit 8af1dcb

Browse files
committed
disable double click zoom
1 parent 3faaf85 commit 8af1dcb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/components/Map.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ export default function MapComponent({
213213
<MapContainer
214214
attributionControl={false}
215215
center={[lat, lng]}
216+
doubleClickZoom={false}
216217
zoom={zoom}
217218
style={{ height: "100%", width: "100%" }}
218219
zoomAnimation={true}

0 commit comments

Comments
 (0)