getMarkers

Deprecated

As of 7.0.0, use MapLibre Annotation Plugin instead

Returns a list of all the markers on the map.

Return

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