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

Inward padding from the left.

Inward padding from the top.

Inward padding from the right.

Inward padding from the bottom.