public class GeoJsonMultiPoint extends Object implements GeoJson<Iterable<Point>>
GeoJsonMultiPoint is defined as list of Points.| Constructor and Description |
|---|
GeoJsonMultiPoint(List<Point> points)
Creates a new
GeoJsonMultiPoint for the given Points. |
GeoJsonMultiPoint(Point first,
Point second,
Point... others)
Creates a new
GeoJsonMultiPoint for the given Points. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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() |
public GeoJsonMultiPoint(List<Point> points)
GeoJsonMultiPoint for the given Points.points - points must not be null and have at least 2 entries.public GeoJsonMultiPoint(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 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–2019 Pivotal Software, Inc.. All rights reserved.