跳到主要内容

flywave-map-controls.camerapananimationoptions

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

CameraPanAnimationOptions interface

Signature:

export interface CameraPanAnimationOptions 

Properties

Property

Modifiers

Type

Description

duration?

number

(Optional) Duration of a whole animation in milliseconds. Defaults to 10 seconds.

easing?

EasingFunction | ((k: number) => number)

(Optional) Easing function that control acceleration. Defaults to [[EasingFunction.Linear]].

geoCoordinates?

GeoCoordinatesLike[]

(Optional) List of positions. May be added later.

interpolation?

InterpolationFunction | ((v: number[], k: number) => number)

(Optional) Specifies interpolation. Defaults to [[InterpolationFunction.Linear]]

repeat?

number

(Optional) Number of times the animation should be repeated. Defaults to 0.