public final class MultiPolygon extends Geometry
| Constructor and Description | 
|---|
| MultiPolygon(CoordinateReferenceSystem coordinateReferenceSystem,
            List<PolygonCoordinates> coordinates)Construct an instance. | 
| MultiPolygon(List<PolygonCoordinates> coordinates)Construct an instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object o) | 
| List<PolygonCoordinates> | getCoordinates()Gets the coordinates. | 
| GeoJsonObjectType | getType()Gets the GeoJSON object type. | 
| int | hashCode() | 
| String | toString() | 
getCoordinateReferenceSystem, toJsonpublic MultiPolygon(List<PolygonCoordinates> coordinates)
coordinates - the coordinatespublic MultiPolygon(CoordinateReferenceSystem coordinateReferenceSystem, List<PolygonCoordinates> coordinates)
coordinateReferenceSystem - the coordinate reference systemcoordinates - the coordinatespublic GeoJsonObjectType getType()
Geometrypublic List<PolygonCoordinates> getCoordinates()