ru.dgis.sdk.map.Padding | Android SDK | 2GIS Documentation

Padding

Margins from the edges of the camera.

Set from the edges inwards, in physical pixels. Margins affect:

  • position point;
  • animated map movement;
  • location of dynamic map objects (such as route bubbles).

Padding(
	left: Int = 0,
	top: Int = 0,
	right: Int = 0,
	bottom: Int = 0
)

Margins from the edges of the camera.

Set from the edges inwards, in physical pixels. Margins affect:

  • position point;
  • animated map movement;
  • location of dynamic map objects (such as route bubbles).

Parameters
left
top
right
bottom
Returns
Properties

Left indent inward.

Indent from top to inside.

Indent right inside.

Indent from bottom to inside.