@vcmap/core
    Preparing search index...

    Class Viewpoint

    A Viewpoint Object

    Hierarchy (View Summary)

    Index

    Accessors

    • get className(): string

      Returns string

    Constructors

    Methods

    Properties

    "[moduleIdSymbol]"?: string
    animate: boolean

    animate this viewpoint when setting it on a map

    cameraPosition: Coordinate | null

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

    distance: number | undefined

    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: number | undefined

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

    easingFunctionName: string | undefined

    The name of the easing function to use

    groundPosition: Coordinate | null

    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