maps-utils-ktx / com.google.maps.android.ktx.utils.collection / com.google.maps.android.collections.MarkerManager.Collection

Extensions for com.google.maps.android.collections.MarkerManager.Collection

addMarker

Adds a new Marker to the underlying map and to this MarkerManager.Collection with the provided optionsActions.

fun Collection.addMarker(optionsActions: MarkerOptions.() -> Unit): Marker