getAnnotations

Deprecated

As of 7.0.0, use MapLibre Annotation Plugin instead

Returns a list of all the annotations on the map.

Return

A list of all the annotation objects. The returned object is a copy so modifying this list will not update the map