padding

fun padding(@Size(value = 4) padding: DoubleArray?): CameraPosition.Builder

Padding in pixels that shifts the viewport by the specified amount. Applied padding is going to persist and impact following camera transformations.

Specified in left, top, right, bottom order.

Return

this

Parameters

padding

Camera padding


fun padding(left: Double, top: Double, right: Double, bottom: Double): CameraPosition.Builder

Padding in pixels that shifts the viewport by the specified amount. Applied padding is going to persist and impact following camera transformations.

Specified in left, top, right, bottom order.

Return

this