org.gwtopenmaps.openlayers.client.geometry
Class MultiPolygon

java.lang.Object
  extended by org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
      extended by org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
          extended by org.gwtopenmaps.openlayers.client.geometry.Geometry
              extended by org.gwtopenmaps.openlayers.client.geometry.Collection
                  extended by org.gwtopenmaps.openlayers.client.geometry.MultiPolygon

public class MultiPolygon
extends Collection


Field Summary
 
Fields inherited from class org.gwtopenmaps.openlayers.client.geometry.Geometry
LINEARRING_CLASS_NAME, LINESTRING_CLASS_NAME, MULTI_LINE_STRING_CLASS_NAME, MULTI_POLYGON_CLASS_NAME, POINT_CLASS_NAME, POLYGON_CLASS_NAME
 
Constructor Summary
protected MultiPolygon(JSObject element)
           
  MultiPolygon(Polygon[] polygons)
           
 
Method Summary
 Polygon[] getComponents()
          MultiPolygons are collections of Polygons.
static MultiPolygon narrowToMultiPolygon(JSObject multiPolygon)
           
 
Methods inherited from class org.gwtopenmaps.openlayers.client.geometry.Collection
equals, getComponent, getLength, getNumberOfComponents, transform
 
Methods inherited from class org.gwtopenmaps.openlayers.client.geometry.Geometry
calculateBounds, clone, destroy, fromWKT, getArea, getBounds, narrowToGeometry, toString
 
Methods inherited from class org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
getClassName, getEvents, narrowToOpenLayersObjectWrapper
 
Methods inherited from class org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
getJSObject, setJSObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiPolygon

protected MultiPolygon(JSObject element)

MultiPolygon

public MultiPolygon(Polygon[] polygons)
Method Detail

narrowToMultiPolygon

public static MultiPolygon narrowToMultiPolygon(JSObject multiPolygon)

getComponents

public Polygon[] getComponents()
MultiPolygons are collections of Polygons.

Returns:
Array of LinearRing Objects


Copyright © 2011 sourceforge. All Rights Reserved.