dojox/geo/openlayers/Collection (version 1.10)

dojox/geo/openlayers/Geometry

Summary

A collection of geometries.

Usage

var foo = new Collection(coords);
dojox/geo/openlayers/Geometry
Parameter Type Description
coords Object

Coordinates of the geometry. {x:x, y:y} object for a point geometry, array of {x:x, y:y} objects for line string geometry, array of geometries for collection geometry.

See the dojox/geo/openlayers/Collection reference documentation for more information.

Property Summary

Method Summary

Properties

coordinates

An array of geometries.

shape

The associated shape when rendered

Methods

getGeometries()

Returns the geometries.

Returns:any | undefined

The array of geometries defining this collection.

setGeometries(g)

Sets the geometries

Parameter Type Description
g Array

The array of geometries.

Error in the documentation? Can’t find what you are looking for? Let us know!