setCenter

fun setCenter(latLng: LatLng)(source)

Sets the map center to the specified location.

If camera target bounds are set, the center will be clamped to stay within those bounds.

Parameters

latLng

The new center location