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

addPolygon

inline fun GoogleMap.addPolygon(optionsActions: PolygonOptions.() -> Unit): Polygon

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

Return
the added Polygon