Commit 82f0ebba authored by Maxym Borodenko's avatar Maxym Borodenko
Browse files

No scroll on map

parent ce329233
......@@ -91,6 +91,10 @@ class LocationMap extends React.Component<ILocationMapProps, any> {
center={ center }
bounds={ [min, max] }
maxZoom={ positions.length === 1 ? 6 : 7 }
zoomControl={ false }
dragging={ false }
scrollWheelZoom={ false }
doubleClickZoom={ false }
>
<TileLayer
attribution={ '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors' }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment