Skip to content

Function: getAnnotationsBounds() ​

ts
function getAnnotationsBounds(annotations): Bounds;

Calculate the bounds of a collection of annotations

Parameters ​

annotations ​

AnnotationCollection

Returns ​

Bounds

Bounds [minX, minY, maxX, maxY]