The GeometryCollection class is that defines an array of geometries.
var point1 = new Point( { type: 'Point', coordinates: [-82.44140625, 29.20012347764] }); var point2 = new Point( { type: 'Point', coordinates: [-81.44140625, 29.20012347764] }); var geoCollection = new GeometryCollection([ point1, point2]);
is an array of GeometryObject.
The geometries property of a geometry collection is an array of GeometryObject.
The type property of a geometry collection ("GeometryCollection").
The GeometryCollection class is that defines an array of geometries.
var point1 = new Point( { type: 'Point', coordinates: [-82.44140625, 29.20012347764] });
var point2 = new Point( { type: 'Point', coordinates: [-81.44140625, 29.20012347764] });
var geoCollection = new GeometryCollection([ point1, point2]);