Appearance
BoundingBox
Type: object
Properties
- computeForZoom
function(zoom: number):BoundingBox
Method to include the maximum item sizes to compute the real boundaries at the selected zoom level - cx
number
X coordinate of the center of the bounding box - cy
number
Y coordinate of the center of the bounding box - height
number
Height of the bounding box - maxFixedSize
number
Maximum fixed size of the elements used to compute the bounding box - maxScaledSize
number
Maximum scaled size of the elements used to compute the bounding box - maxX
number
Maximum X coordinate of the bounding box - maxY
number
Maximum Y coordinate of the bounding box - minFixedSize
number
Minimum fixed size of the elements used to compute the bounding box - minScaledSize
number
Minimum scaled size of the elements used to compute the bounding box - minX
number
Minimum X coordinate of the bounding box - minY
number
Minimum Y coordinate of the bounding box - pad
function(value: number):BoundingBox
Extends the bounding box by value on every direction - width
number
Width of the bounding box