跳到主要内容

flywave-map-controls.cameraanimationbuilder

Home > @flywave/flywave-map-controls > CameraAnimationBuilder

CameraAnimationBuilder class

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

A Utility class for the creation of Camera Animations

Signature:

export declare class CameraAnimationBuilder 

Methods

Method

Modifiers

Description

appendControlPoint(options, point, appendTime)

static

(BETA) Appends a [[ControlPoint]] to [[CameraKeyTrackAnimationOptions]]

createBowFlyToOptions(mapView, startControlPoint, targetControlPoint, altitude, duration)

static

(BETA) Creates Options for a Bow Animation from the start to the target [[ControlPoint]]

createOrbitOptions(startControlPoint, duration)

static

(BETA) Creates [[CameraKeyTrackAnimationOptions]] for an Orbit Animation

getLookAtFromView(mapView)

static

(BETA) Get the current [[LookAtParams]] from [[MapView]]

prependControlPoint(options, point, prependTime)

static

(BETA) Adds a [[ControlPoint]] to the beginning of an [[CameraKeyTrackAnimationOptions]]