add Markers
Deprecated
As of 7.0.0, use MapLibre Annotation Plugin instead
Adds multiple markers to this map.
The marker's icon is rendered on the map at the locationMarker.position. If Marker.title is defined, the map shows an info box with the marker's title and snippet.Return
A list of the Markers that were added to the map
Parameters
marker Options List
A list of marker options objects that defines how to render the markers