Skip to content

Commit

Permalink
fix(components.MapPlot): disable double click zoom for MapGL
Browse files Browse the repository at this point in the history
  • Loading branch information
cbfx committed Oct 16, 2019
1 parent b414f35 commit 5d0d99b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/MapPlot.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const MapPlot = React.forwardRef((props, ref) => {
top: _ne.lat,
bottom: _sw.lat,
left: _ne.lng,
right: _sw.lng
right: _sw.lng
}
}
}))
Expand All @@ -57,6 +57,7 @@ const MapPlot = React.forwardRef((props, ref) => {
mapboxApiAccessToken={TOKEN}
disableTokenWarning={true}
onNativeClick={definingPoints && onDefinedPoint}
doubleClickZoom={false}
>
{ running &&
<LinearProgress color="secondary" />
Expand Down

0 comments on commit 5d0d99b

Please sign in to comment.