setViewpointCenter

suspend fun setViewpointCenter(center: Point, scale: Double? = null): Result<Boolean>

Animate the map view to the center point and scale.

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

center

the location on which the map should be centered

scale

the new map scale