flywave-map-controls.cameraanimationbuilder.createbowflytooptions
Home > @flywave/flywave-map-controls > CameraAnimationBuilder > createBowFlyToOptions
CameraAnimationBuilder.createBowFlyToOptions() method
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.
Creates Options for a Bow Animation from the start to the target [[ControlPoint]]
Signature:
static createBowFlyToOptions(mapView: MapView, startControlPoint: ControlPoint, targetControlPoint: ControlPoint, altitude?: number, duration?: number): CameraKeyTrackAnimationOptions;
Parameters
Parameter | Type | Description |
|---|---|---|
mapView | MapView | |
startControlPoint | ||
targetControlPoint | ||
altitude | number | (Optional) The maximal altitude the bow should have, defaults to twice the start to target distance |
duration | number | (Optional) The duration of the Animation in seconds, 10 |
Returns:
[CameraKeyTrackAnimationOptions](./flywave-map-controls.camerakeytrackanimationoptions.md)