Class: GeometryCollection

ol/geom/GeometryCollection~GeometryCollection


import GeometryCollection from 'ol/geom/GeometryCollection';

new GeometryCollection(opt_geometries)

geom/GeometryCollection.js, line 17
Name Type Description
geometries Array.<module:ol/geom/Geometry~Geometry>

Geometries.

Methods

applyTransform()

geom/GeometryCollection.js, line 252

clone(){module:ol/geom/GeometryCollection~GeometryCollection}

geom/GeometryCollection.js, line 69

Make a complete copy of the geometry.

Returns:
Clone.

getGeometries(){Array.<module:ol/geom/Geometry~Geometry>}

geom/GeometryCollection.js, line 120

Return the geometries that make up this geometry collection.

Returns:
Geometries.

getType()

geom/GeometryCollection.js, line 176

intersectsExtent()

geom/GeometryCollection.js, line 184

rotate()

geom/GeometryCollection.js, line 205

scale()

geom/GeometryCollection.js, line 217

setGeometries(geometries)

geom/GeometryCollection.js, line 234

Set the geometries that make up this geometry collection.

Name Type Description
geometries Array.<module:ol/geom/Geometry~Geometry>

Geometries.

translate()

geom/GeometryCollection.js, line 264