MultiPolygon is a geometry with multiple OpenLayers.Geometry.Polygon components. Create a new instance with the OpenLayers.Geometry.MultiPolygon constructor.
| OpenLayers. Geometry. MultiPolygon | MultiPolygon 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. MultiPolygon | Create a new MultiPolygon geometry |
Create a new MultiPolygon geometry
| components | {Array(OpenLayers.Geometry.Polygon)} An array of polygons used to generate the MultiPolygon |