MPInitialViewConverter

Functions

Link copied to clipboard
fun toInitialCameraPosition(initialView: MPInitialView, viewWidthDp: Int, viewHeightDp: Int, administrativeId: String? = null): CameraPosition?

The camera for a map that does not exist yet — pass it to GoogleMapOptions.camera(...), so the map's very first frame is the venue rather than the world view.