Skip to content

Commit

Permalink
Move rotation control to bottom left (#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
ezwelty authored Oct 8, 2024
1 parent 8df5ddb commit ff195f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/map/MapPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,9 +302,12 @@ const MapPage = ({ isDesktop }) => {
<GoogleMapReact
onClick={handleNonspecificClick}
bootstrapURLKeys={bootstrapURLKeys}
options={() => ({
options={(googleMaps) => ({
mapTypeId: mapType,
disableDefaultUI: true,
rotateControlOptions: {
position: googleMaps.ControlPosition.INLINE_START_BLOCK_END,
},
minZoom: MIN_ZOOM,
// Toggle all basemap icons
// https://developers.google.com/maps/documentation/javascript/style-reference
Expand Down

0 comments on commit ff195f9

Please sign in to comment.