setViewpointAnimated

suspend fun setViewpointAnimated(viewpoint: Viewpoint, duration: Duration = 0.25.seconds): Result<Boolean>

Animate the geo view to the new viewpoint, taking the given duration to complete the navigation.

Return

a Result indicating whether the viewpoint was successfully set. A success result with a value of false may indicate the operation was cancelled.

Since

200.4.0

Parameters

viewpoint

the new viewpoint

duration

the duration of the animation