Skip to main content

flywave-map-controls.camerapananimation._constructor_

Home > @flywave/flywave-map-controls > CameraPanAnimation > (constructor)

CameraPanAnimation.(constructor)

Creates a new CameraPanAnimation object.

Signature:

constructor(mapView: MapView, options: CameraPanAnimationOptions, name?: string);

Parameters

Parameter

Type

Description

mapView

MapView

[[MapView]] which will be affected by the animation.

options

CameraPanAnimationOptions

Animation's options.

name

string

(Optional) Animation's name.