sdk-maps / com.tomtom.online.sdk.map / MapPadding / <init>

<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.

Parameters

paddingTop - Double: Padding of the map from the top in pixels.

paddingLeft - Double: Padding of the map from the left in pixels.

paddingBottom - Double: Padding of the map from the bottom in pixels.

paddingRight - Double: Padding of the map from the right in pixels.