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
MultiPolygon is a geometry with multiple OpenLayers.Geometry.Polygon components.
Create a new MultiPolygon geometry
{String} Name of class.

Functions

OpenLayers. Geometry. MultiPolygon

Create a new MultiPolygon geometry

Parameters

components{Array(OpenLayers.Geometry.Polygon)} An array of polygons used to generate the MultiPolygon

Return

{OpenLayers.Geometry.MultiPolygon} A new MultiPolygon geometry

Constants

CLASS_NAME

{String} Name of class.

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.