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