flywave-map-controls.camerarotationanimation._constructor_
Home > @flywave/flywave-map-controls > CameraRotationAnimation > (constructor)
CameraRotationAnimation.(constructor)
Creates a new CameraRotationAnimation object.
Signature:
constructor(mapView: MapView, m_mapControls: MapControls | undefined, options: CameraRotationAnimationOptions, name?: string);
Parameters
Parameter | Type | Description |
|---|---|---|
mapView | MapView | [[MapView]] which will be affected by the animation. |
m_mapControls | MapControls | undefined | [[MapControls]] this animation will be taking control of. |
options | Animation's options. | |
name | string | (Optional) Animation's name. |