centerToPosition

fun centerToPosition(mapPosition: Position, zoom: Double)

Center the map to the specified position

Parameters

mapPosition

object position

zoom

the zoom level. The range is 0.7, 10