public final class GeoJsonLineString extends GeoJsonGeometry
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Maps Engine API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
GeoJsonLineString()
Constructs GeoJsonLineString.
|
| Modifier and Type | Method and Description |
|---|---|
GeoJsonLineString |
clone() |
java.util.List<java.util.List<java.lang.Double>> |
getCoordinates()
An array of two or more positions, representing a line.
|
GeoJsonLineString |
set(java.lang.String fieldName,
java.lang.Object value) |
GeoJsonLineString |
setCoordinates(java.util.List<java.util.List<java.lang.Double>> coordinates)
An array of two or more positions, representing a line.
|
getType, setTypegetFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.util.List<java.util.List<java.lang.Double>> getCoordinates()
null for nonepublic GeoJsonLineString setCoordinates(java.util.List<java.util.List<java.lang.Double>> coordinates)
coordinates - coordinates or null for nonepublic GeoJsonLineString set(java.lang.String fieldName, java.lang.Object value)
set in class GeoJsonGeometrypublic GeoJsonLineString clone()
clone in class GeoJsonGeometry