fix: set default maxPitch to 60 (#1720)

This commit is contained in:
Andrea Amorosi 2022-02-06 19:36:17 +01:00 committed by Xiaoji Chen
parent be7b78c92e
commit 6a43e8571b
2 changed files with 2 additions and 2 deletions

View File

@ -172,7 +172,7 @@ The minimum pitch of the map (0-85).
#### `maxPitch`: number
Default: `85`
Default: `60`
The maximum pitch of the map (0-85).

View File

@ -40,7 +40,7 @@ const defaultProps: MapProps = {
minZoom: 0,
maxZoom: 22,
minPitch: 0,
maxPitch: 85,
maxPitch: 60,
// Interaction handlers
scrollZoom: true,