setViewpointAnimated

suspend fun setViewpointAnimated(viewpoint: Viewpoint): Result<Boolean>

Change the GeoView to the new viewpoint with animation. This function uses the standard animation duration.

Return

A Result containing a Boolean that indicates whether the animation completed

Since

200.0.0

Parameters

viewpoint

the new viewpoint


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

Change the GeoView to the new viewpoint with animation, taking the given number of seconds to complete the navigation.

Return

A Result containing a Boolean that indicates whether the animation completed

Since

200.0.0

Parameters

viewpoint

the new viewpoint

durationSeconds

the number of seconds to complete the navigation