maps-ktx / com.google.maps.android.ktx / com.google.android.gms.maps.GoogleMap / addMarker

addMarker

inline fun GoogleMap.addMarker(optionsActions: MarkerOptions.() -> Unit): Marker?

Adds a Marker to this GoogleMap using the function literal with receiver optionsActions.

Return
the added Marker