Padding interface

Represent the amount of padding in pixels to add to the side of a BoundingBox when setting the camera of a map.

Extends

Properties

bottom

Amount of padding in pixels to add to the bottom. default 0

left

Amount of padding in pixels to add to the left. default 0

right

Amount of padding in pixels to add to the right. default 0

top

Amount of padding in pixels to add to the top. default 0

Property Details

bottom

Amount of padding in pixels to add to the bottom. default 0

bottom: number

Property Value

number

left

Amount of padding in pixels to add to the left. default 0

left: number

Property Value

number

right

Amount of padding in pixels to add to the right. default 0

right: number

Property Value

number

top

Amount of padding in pixels to add to the top. default 0

top: number

Property Value

number