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