public class GeoJsonLineString extends GeoJsonMultiPoint
GeoJsonLineString is defined as list of at least 2 Points.| Constructor and Description |
|---|
GeoJsonLineString(List<Point> points)
Creates a new
GeoJsonLineString for the given Points. |
GeoJsonLineString(Point first,
Point second,
Point... others)
Creates a new
GeoJsonLineString for the given Points. |
| Modifier and Type | Method and Description |
|---|---|
String |
getType()
String value representing the type of the
GeoJson object. |
equals, getCoordinates, hashCodepublic GeoJsonLineString(List<Point> points)
GeoJsonLineString for the given Points.points - must not be null and have at least 2 entries.public GeoJsonLineString(Point first, Point second, Point... others)
GeoJsonLineString for the given Points.first - must not be nullsecond - must not be nullothers - can be nullpublic String getType()
GeoJsonGeoJson object.getType in interface GeoJson<Iterable<Point>>getType in class GeoJsonMultiPointCopyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.