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

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

addPolygon

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

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