setPadding

abstract fun setPadding(padding: Padding)

Sets padding on the map. For the map, the padding means a safe area of the MapView which does not receive any input from the user. The safe area can be useful for some sections of the user interface displaying UI components like buttons, sliders etc.

Parameters

padding

The Padding to set.