public class GeoJsonLineString extends GeoJsonMultiPoint
GeoJsonLineString
is defined as list of at least 2 Point
s.http://geojson.org/geojson-spec.html#linestring
Constructor and Description |
---|
GeoJsonLineString(List<Point> points)
Creates a new
GeoJsonLineString for the given Point s. |
GeoJsonLineString(Point first,
Point second,
Point... others)
Creates a new
GeoJsonLineString for the given Point s. |
Modifier and Type | Method and Description |
---|---|
String |
getType()
String value representing the type of the
GeoJson object. |
equals, getCoordinates, hashCode
public GeoJsonLineString(List<Point> points)
GeoJsonLineString
for the given Point
s.points
- must not be null and have at least 2 entries.public GeoJsonLineString(Point first, Point second, Point... others)
GeoJsonLineString
for the given Point
s.first
- must not be nullsecond
- must not be nullothers
- can be nullCopyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.