public final class GeoJsonPoint 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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
GeoJsonPoint()
Constructs GeoJsonPoint.
|
| Modifier and Type | Method and Description |
|---|---|
GeoJsonPoint |
clone() |
java.util.List<java.lang.Double> |
getCoordinates()
A single GeoJsonPosition, specifying the location of the point.
|
GeoJsonPoint |
set(java.lang.String fieldName,
java.lang.Object value) |
GeoJsonPoint |
setCoordinates(java.util.List<java.lang.Double> coordinates)
A single GeoJsonPosition, specifying the location of the point.
|
getType, setTypegetFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.util.List<java.lang.Double> getCoordinates()
null for nonepublic GeoJsonPoint setCoordinates(java.util.List<java.lang.Double> coordinates)
coordinates - coordinates or null for nonepublic GeoJsonPoint set(java.lang.String fieldName, java.lang.Object value)
set in class GeoJsonGeometrypublic GeoJsonPoint clone()
clone in class GeoJsonGeometry