Skip to content

Commit

Permalink
Disable pitch and rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
nerik committed Sep 14, 2023
1 parent 962e440 commit f027c94
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/scripts/components/common/map/map-component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ export default function MapComponent({
<ReactMapGlMap
id={id}
mapboxAccessToken={process.env.MAPBOX_TOKEN}
dragRotate={false}
touchPitch={false}
pitchWithRotate={false}
maxPitch={0}
initialViewState={initialViewState}
mapStyle={style as any}
onMove={onMove}
Expand Down

0 comments on commit f027c94

Please sign in to comment.