We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cc81d7 commit bdadf98Copy full SHA for bdadf98
1 file changed
src/geo/transform.js
@@ -61,8 +61,8 @@ class Transform {
61
this._minZoom = minZoom || 0;
62
this._maxZoom = maxZoom || 22;
63
64
- this._minPitch = typeof minPitch === "undefined" ? 0 : minPitch;
65
- this._maxPitch = typeof maxPitch === "undefined" ? 60 : maxPitch;
+ this._minPitch = minPitch === undefined ? 0 : minPitch;
+ this._maxPitch = maxPitch === undefined ? 60 : maxPitch;
66
67
this.setMaxBounds();
68
0 commit comments