newLatLngPadding

fun newLatLngPadding(latLng: LatLng, left: Double, top: Double, right: Double, bottom: Double): CameraUpdate

Returns a CameraUpdate that moves the center of the screen to a latitude and longitude specified by a LatLng object, and moves to the given zoom level. Applied padding is going to persist and impact following camera transformations.

Return

CameraUpdate Final Camera Position

Parameters

latLng

Target location to change to

left

Left padding

top

Top padding

right

Right padding

bottom

Bottom padding