Type Alias TCameraTarget

TCameraTarget: {
    bearing?: number;
    center?: Coordinate;
    pitch?: number;
    zoomLevel?: number;
}

Defines the target for camera operations.

Type declaration

  • Optionalbearing?: number

    Bearing for the camera target in degrees clockwise from North. 0 degrees is North, 90 degrees is East, 180 degrees is South, and 270 degrees is West.

  • Optionalcenter?: Coordinate

    Center Coordinate for the camera target.

  • Optionalpitch?: number

    Pitch for the camera target in degrees.

  • OptionalzoomLevel?: number

    Zoom level for the camera target in mercator zoom levels.