geometryCollectionOf

fun <G : Geometry> geometryCollectionOf(vararg geometries: G): GeometryCollection<G>(source)

Creates a GeometryCollection from multiple Geometry objects.

Return

A GeometryCollection containing the specified geometries.

Parameters

geometries

The geometries to include in the collection.