cameraLookingAtCenterCoordinate

fun cameraLookingAtCenterCoordinate(centerCoordinate: LngLat, bearing: Double, pitch: Double, roll: Double, elevation: Double): MTMapCameraHelper

Returns camera object with the given center coordinate, bearing, pitch, roll and elevation.


fun cameraLookingAtCenterCoordinate(centerCoordinate: LngLat, bearing: Double, pitch: Double): MTMapCameraHelper

Returns camera object with the given center coordinate, bearing and pitch.

Looks for roll and elevation in the map's style object. If they are not specified in the style, they will default to 0.