setViewpointAnimated

suspend fun setViewpointAnimated(viewpoint: Viewpoint, durationSeconds: Float, curve: AnimationCurve): Result<Boolean>

Change the map view to the viewpoint with duration and animation curve asynchronously.

Return

A Result returning a bool used to indicate if the operation completed successfully or not.

Since

200.0.0

Parameters

viewpoint

the viewpoint being animated to

durationSeconds

the duration of the animation in seconds

curve

the animation curve to apply