setViewpointCenter

suspend fun setViewpointCenter(center: Point): Result<Boolean>

Change the map view to the center point asynchronously.

Return

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

Since

200.0.0

Parameters

center

the location on which the map should be centered


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

Change the map view to the center point and scale asynchronously.

Return

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

Since

200.0.0

Parameters

center

the location on which the map should be centered

scale

the new map scale