Skip to content

Documentation / @expofp/schema / Camera

Interface: Camera ​

Extends ​

Properties ​

bearing? ​

ts
optional bearing?: number;

Map rotation in degrees (0–360).

Inherited from ​

ts
z.infer.bearing

floor? ​

ts
optional floor?: string;

Floor name to activate.

Inherited from ​

ts
z.infer.floor

lat? ​

ts
optional lat?: number;

Center, GPS latitude (paired with lng).

Inherited from ​

ts
z.infer.lat

lng? ​

ts
optional lng?: number;

Center, GPS longitude (paired with lat).

Inherited from ​

ts
z.infer.lng

pitchDegrees? ​

ts
optional pitchDegrees?: number;

Camera tilt back from top down, in degrees.

Inherited from ​

ts
z.infer.pitchDegrees

pitchTime? ​

ts
optional pitchTime?: number;

Tilt animation duration in milliseconds.

Inherited from ​

ts
z.infer.pitchTime

x? ​

ts
optional x?: number;

Center, floor-plan projected coordinates (paired with y).

Inherited from ​

ts
z.infer.x

y? ​

ts
optional y?: number;

Center, floor-plan projected coordinates (paired with x).

Inherited from ​

ts
z.infer.y

zoomTime? ​

ts
optional zoomTime?: number;

Camera movement animation duration in milliseconds.

Inherited from ​

ts
z.infer.zoomTime