Skip to Content
APIMapInterface: CameraAnimation

Interface: CameraAnimation

The options to animate the update of the map camera. Controls how smoothly the camera transitions to its new position.

Example

true

Properties

animate?

true

If false, no animation will occur and the camera will jump instantly to the new position. If omitted, defaults to true.

Default Value

true

Example

1000


duration?

The animation’s duration, measured in milliseconds. Higher values create slower, more gradual transitions.

Default Value

1000

Example

Last updated on