sdk-maps / com.tomtom.online.sdk.map / MapPadding

MapPadding

open class MapPadding

Encapsulates map padding from each side

Constructors

<init>

MapPadding()

Default constructor, sets all paddings to 0

MapPadding(paddingTop: Double, paddingLeft: Double, paddingBottom: Double, paddingRight: Double)

Set padding of the map in pixels.

Functions

getPaddingBottom

open fun getPaddingBottom(): Double

Returns padding of the map from the bottom in pixels.

getPaddingLeft

open fun getPaddingLeft(): Double

Returns padding of the map from the left in pixels.

getPaddingRight

open fun getPaddingRight(): Double

Returns padding of the map from the right in pixels.

getPaddingTop

open fun getPaddingTop(): Double

Returns padding of the map from the top in pixels.