public class GeoJsonMultiPoint extends Object implements GeoJson<Iterable<org.springframework.data.geo.Point>>
GeoJsonMultiPoint is defined as list of Points.| Constructor and Description |
|---|
GeoJsonMultiPoint(List<org.springframework.data.geo.Point> points)
Creates a new
GeoJsonMultiPoint for the given Points. |
GeoJsonMultiPoint(org.springframework.data.geo.Point first,
org.springframework.data.geo.Point second,
org.springframework.data.geo.Point... others)
Creates a new
GeoJsonMultiPoint for the given Points. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<org.springframework.data.geo.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<org.springframework.data.geo.Point> points)
GeoJsonMultiPoint for the given Points.points - points must not be null and have at least 2 entries.public GeoJsonMultiPoint(org.springframework.data.geo.Point first,
org.springframework.data.geo.Point second,
org.springframework.data.geo.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<org.springframework.data.geo.Point>>public List<org.springframework.data.geo.Point> getCoordinates()
GeoJsonIterable. The structure for the elements within is
determined by GeoJson.getType() of geometry.getCoordinates in interface GeoJson<Iterable<org.springframework.data.geo.Point>>Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.