| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<Point> |
getCoordinates()
The value of the coordinates member is always an
Iterable. |
String |
getType()
String value representing the type of the
GeoJson object. |
int |
hashCode() |
static GeoJsonMultiPoint |
of(GeoPoint first,
GeoPoint second,
GeoPoint... others)
Creates a new
GeoJsonMultiPoint for the given GeoPoints. |
static GeoJsonMultiPoint |
of(List<Point> points)
Creates a new
GeoJsonMultiPoint for the given Points. |
static GeoJsonMultiPoint |
of(Point first,
Point second,
Point... others)
Creates a new
GeoJsonMultiPoint for the given Points. |
static GeoJsonMultiPoint |
ofGeoPoints(List<GeoPoint> geoPoints)
Creates a new
GeoJsonMultiPoint for the given GeoPoints. |
String |
toString() |
public static final String TYPE
public static GeoJsonMultiPoint of(List<Point> points)
GeoJsonMultiPoint for the given Points.points - points must not be null and have at least 2 entries.public static GeoJsonMultiPoint of(Point first, Point second, Point... others)
GeoJsonMultiPoint for the given Points.first - must not be null.second - must not be null.others - must not be null.public static GeoJsonMultiPoint ofGeoPoints(List<GeoPoint> geoPoints)
GeoJsonMultiPoint for the given GeoPoints.geoPoints - geoPoints must not be null and have at least 2 entries.public static GeoJsonMultiPoint of(GeoPoint first, GeoPoint second, GeoPoint... others)
GeoJsonMultiPoint for the given GeoPoints.first - must not be null.second - must not be null.others - must not be null.public String getType()
GeoJsonGeoJson object.getType in interface GeoJson<Iterable<Point>>public List<Point> getCoordinates()
GeoJsonIterable. The structure for the elements within is
determined by GeoJson.getType() of geometry.getCoordinates in interface GeoJson<Iterable<Point>>Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.