MPInitialViewConverter

Functions

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

Camera options for a map that does not exist yet — pass them as MapInitOptions.cameraOptions, so the map's very first frame is the venue rather than the globe.