diff --git a/src/components/SearchMap/SearchMap.js b/src/components/SearchMap/SearchMap.js index 7cf52a9d..91b17647 100644 --- a/src/components/SearchMap/SearchMap.js +++ b/src/components/SearchMap/SearchMap.js @@ -148,6 +148,11 @@ const MapWithGoogleMap = withGoogleMap(props => { /> ) : null; + const controlPosition = + typeof window !== 'undefined' && typeof window.google !== 'undefined' + ? window.google.maps.ControlPosition.LEFT_TOP + : 5; + return ( { clickableIcons: false, // When infoCard is open, we can't differentiate double click on top of card vs map. disableDoubleClickZoom: !!infoCardOpen, + zoomControlOptions: { + position: controlPosition, + }, + streetViewControl: false, }} ref={onMapLoad} onIdle={onIdle}