diff --git a/src/Components/Map/UtopiaMap.tsx b/src/Components/Map/UtopiaMap.tsx index d6832cff..19f81152 100644 --- a/src/Components/Map/UtopiaMap.tsx +++ b/src/Components/Map/UtopiaMap.tsx @@ -51,6 +51,7 @@ function UtopiaMap({ showFilterControl = false, showGratitudeControl = false, showLayerControl = true, + showZoomControl = false, showThemeControl = false, defaultTheme, donationWidget, @@ -73,6 +74,8 @@ function UtopiaMap({ showLayerControl?: boolean /** show the layer control widget (default true) */ showGratitudeControl?: boolean + /** show zoom control widget (default false) */ + showZoomControl?: boolean /** show a widget to switch the theme */ showThemeControl?: boolean /** the defaut theme */ @@ -86,7 +89,7 @@ function UtopiaMap({ style={{ height, width }} center={new LatLng(center[0], center[1])} zoom={zoom} - zoomControl={false} + zoomControl={showZoomControl} maxZoom={19} >