Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Viewport elevation control #9313

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
4 changes: 2 additions & 2 deletions modules/core/src/views/map-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ export type MapViewState = {
minPitch?: number;
/** Max pitch, default `60` */
maxPitch?: number;
/** Viewport center offsets from lng, lat in meters */
position?: number[];
/** Viewport center offsets from lng, lat, and elevation in meters */
position?: [number, number, number];
charlieforward9 marked this conversation as resolved.
Show resolved Hide resolved
} & CommonViewState;

export type MapViewProps = {
Expand Down