add Marker
Deprecated
As of 7.0.0, use MapLibre Annotation Plugin instead
Adds a marker 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
The Marker
that was added to the map
Parameters
marker Options
A marker options object that defines how to render the marker