cameraForCoordinates

fun cameraForCoordinates(coordinates: List<Point>, padding: EdgeInsets, bearing: Double, pitch: Double): CameraOptions

Convenience method that returns the camera options object for given arguments

Return

Returns the camera options object representing the provided params

Parameters

coordinates

The coordinates representing the bounds of the map

padding

The edge padding of the map

bearing

The bearing of the map

pitch

The pitch of the map