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