addMarkers

open fun addMarkers(@NonNull markerOptionsList: List<out BaseMarkerOptions>): List<Marker>

Deprecated

Adds multiple markers to this map.

The marker's icon is rendered on the map at the location Marker.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

Deprecated

As of 7.0.0, use MapLibre Annotation Plugin instead

Parameters

markerOptionsList

A list of marker options objects that defines how to render the markers