AnimationOptions interface
The options for animating changes to the map control's camera.
- Extends
Properties
duration | The duration of the animation in milliseconds.
Default |
type | The type of animation. |
Property Details
duration
The duration of the animation in milliseconds.
Default 1000
.
duration?: number
Property Value
number
type
The type of animation.
"jump"
is an immediate change.
"ease"
is a gradual change of the camera's settings.
"fly"
is a gradual change of the camera's settings following an arc resembling flight.
Default "jump"
.
type?: "jump" | "ease" | "fly"
Property Value
"jump" | "ease" | "fly"