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 |
left | Amount of padding in pixels to add to the left.
default |
right | Amount of padding in pixels to add to the right.
default |
top | Amount of padding in pixels to add to the top.
default |
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