setMapPadding

fun setMapPadding(left: Int, top: Int, right: Int, bottom: Int)(source)

Sets map padding that affects the logical viewport.

Padding adjusts where camera operations consider the "center" of the map without changing the physical view size.

Parameters

left

Left padding in pixels

top

Top padding in pixels

right

Right padding in pixels

bottom

Bottom padding in pixels