add

external fun add(marker: Marker = Marker(), index: Int = -1)

Add a new marker to collection

Parameters

marker

The marker added to the collection

index

The new marker position in collection. -1 means at the collection end ( topmost )