Class Viewpoint

A Viewpoint Object

Hierarchy (view full)

Accessors

  • get className(): string
  • Returns string

Constructors

Methods

  • compares the provided Viewpoint with this viewpoint componentwise

    Parameters

    Returns boolean

Properties

[moduleIdSymbol]?: string
animate: boolean

animate this viewpoint when setting it on a map

cameraPosition: null | Coordinate

position of the camera (optional) (cameraPosition needs x, y, and height value) either a cameraPosition or a groundPosition have to be provided

distance: undefined | number

distance between target and camera position, only needed if a groundPosition is given is used to move the cameraPosition backwards to get some distance from the ground

duration: undefined | number

An optional duration in seconds to override durations when animating this viewpoint

easingFunctionName: undefined | string

The name of the easing function to use

groundPosition: null | Coordinate

groundPosition, point on the ground the camera looks at (optional) either a cameraPosition or a groundPosition have to be provided

heading: number

heading, angle between 0 and 360 degree 0° = North, 90° = east ...

isDestroyed: boolean
name: string

unique Name

pitch: number

pitch in degrees ranges -90 to 90

properties: Record<string, unknown>
roll: number

roll in degrees, ranges -90 to 90