Skip to content

Commit

Permalink
Fix of issue: Set initial camera direction normal to ground in 3D view
Browse files Browse the repository at this point in the history
  • Loading branch information
nilscb authored Mar 16, 2022
1 parent 94f0b6f commit 4b73bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/src/lib/components/DeckGLMap/components/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ function getInitialViewState(
// target to center of the bound
target: [bounds[0] + width / 2, bounds[1] + height / 2, 0],
zoom: zoom,
rotationX: 0,
rotationX: 90, // look down z -axis.
rotationOrbit: 0,
};

Expand Down

0 comments on commit 4b73bec

Please sign in to comment.