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

Padding

Camera padding.

Specified as an inward offset from the edges, in physical pixels. The paddings affect:

  • the position point;
  • animated map movement;
  • the placement of dynamic map objects (such as route callouts).

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

Camera padding.

Specified as an inward offset from the edges, in physical pixels. The paddings affect:

  • the position point;
  • animated map movement;
  • the placement of dynamic map objects (such as route callouts).

Parameters
left
top
right
bottom
Returns
Properties

Left inward padding.

Padding from top to inside.

Padding from right to inside.

Padding from bottom to inside.