flywave-map-controls.camerapananimation
Home > @flywave/flywave-map-controls > CameraPanAnimation
CameraPanAnimation class
Class to pan between the specified geo coordinates. Height can be specified to move the camera in and out.
Signature:
export declare class CameraPanAnimation extends CameraAnimation
Extends: CameraAnimation
Constructors
Constructor | Modifiers | Description |
|---|---|---|
Creates a new |
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
| (v: number[], k: number) => number | Specifies interpolation. Defaults to [[InterpolationFunction.CatmullRom]] | |
| boolean | Returns | |
string | (Optional) |
Methods
Method | Modifiers | Description |
|---|---|---|
Add a geo coordinate that should be visited. | ||
Start the animation. | ||
Stop the animation. Can be started again (with original values only, though). |