dojox/geo/openlayers/_base.Geometry (version 1.10)

Summary

A Geometry handles description of shapes to be rendered in a GfxLayer using a GeometryFeature feature. A Geometry can be:

Usage

var foo = new _base.Geometry(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/_base.Geometry reference documentation for more information.

Property Summary

  • coordinatesThe coordinates of the geometry, Object like {x, y} or Array.
  • shapeThe associated shape when rendered

Method Summary

Properties

coordinates

The coordinates of the geometry, Object like {x, y} or Array.

shape

The associated shape when rendered

Methods

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