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

addPolygon

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

Adds a new Polygon to the underlying map and to this PolygonManager.Collection with the provided optionsActions.