OpenLayers.Geometry.MultiPolygon

MultiPolygon is a geometry with multiple OpenLayers.Geometry.Polygon components.  Create a new instance with the OpenLayers.Geometry.MultiPolygon constructor.

Inherits from

Summary
OpenLayers.Geometry.MultiPolygonMultiPolygon is a geometry with multiple OpenLayers.Geometry.Polygon components.
Properties
componentTypes{Array(String)} An array of class names representing the types of components that the collection can include.
Constructor
OpenLayers.Geometry.MultiPolygonCreate a new MultiPolygon geometry

Properties

componentTypes

{Array(String)} An array of class names representing the types of components that the collection can include.  A null value means the component types are not restricted.

Constructor

OpenLayers.Geometry.MultiPolygon

Create a new MultiPolygon geometry

Parameters

components{Array(OpenLayers.Geometry.Polygon)} An array of polygons used to generate the MultiPolygon
Polygon is a collection of Geometry.LinearRings.
Create a new MultiPolygon geometry
A Collection is exactly what it sounds like: A collection of different Geometries.
Close