public final class GeoJsonPolygon extends GenericJson
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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GeoJsonPolygon() |
| Modifier and Type | Method and Description |
|---|---|
GeoJsonPolygon |
clone() |
List<List<List<Double>>> |
getCoordinates()
An array of LinearRings, each of which is an array of four or more GeoJsonPositions.
|
GeoJsonPolygon |
set(String fieldName,
Object value) |
GeoJsonPolygon |
setCoordinates(List<List<List<Double>>> coordinates)
An array of LinearRings, each of which is an array of four or more GeoJsonPositions.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic List<List<List<Double>>> getCoordinates()
null for nonepublic GeoJsonPolygon setCoordinates(List<List<List<Double>>> coordinates)
coordinates - coordinates or null for nonepublic GeoJsonPolygon set(String fieldName, Object value)
set in class GenericJsonpublic GeoJsonPolygon clone()
clone in class GenericJson