Skip to content

Commit

Permalink
Fix map sliding issue by matching maplibre maxPitch to deck.gl
Browse files Browse the repository at this point in the history
  • Loading branch information
sanak committed Dec 30, 2024
1 parent e5eda43 commit 293e191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/deckgl-react/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ const App = () => {
controller={{type: MapController, inertia: true}}
onAfterRender={updateStatWidgets}
>
<Map reuseMaps mapLib={maplibregl} mapStyle={selectedMapStyle} styleDiffing />
<Map reuseMaps mapLib={maplibregl} mapStyle={selectedMapStyle} styleDiffing maxPitch={85} />
</DeckGL>
</div>
);
Expand Down

0 comments on commit 293e191

Please sign in to comment.