public final class MapLayer 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-api-java-client/wiki/Json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
MapLayer() |
| Modifier and Type | Method and Description |
|---|---|
MapLayer |
clone() |
List<Double> |
getDefaultViewport()
An array of four numbers (west, south, east, north) which defines the rectangular bounding box
of the default viewport.
|
String |
getId()
The ID of this MapLayer.
|
String |
getKey()
A user defined alias for this MapLayer, specific to this Map.
|
String |
getName()
The name of this MapLayer.
|
String |
getVisibility()
The visibility setting of this MapLayer.
|
MapLayer |
set(String fieldName,
Object value) |
MapLayer |
setDefaultViewport(List<Double> defaultViewport)
An array of four numbers (west, south, east, north) which defines the rectangular bounding box
of the default viewport.
|
MapLayer |
setId(String id)
The ID of this MapLayer.
|
MapLayer |
setKey(String key)
A user defined alias for this MapLayer, specific to this Map.
|
MapLayer |
setName(String name)
The name of this MapLayer.
|
MapLayer |
setVisibility(String visibility)
The visibility setting of this MapLayer.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic List<Double> getDefaultViewport()
null for nonepublic MapLayer setDefaultViewport(List<Double> defaultViewport)
defaultViewport - defaultViewport or null for nonepublic String getId()
null for nonepublic MapLayer setId(String id)
id - id or null for nonepublic String getKey()
null for nonepublic MapLayer setKey(String key)
key - key or null for nonepublic String getName()
null for nonepublic MapLayer setName(String name)
name - name or null for nonepublic String getVisibility()
null for nonepublic MapLayer setVisibility(String visibility)
visibility - visibility or null for nonepublic MapLayer set(String fieldName, Object value)
set in class GenericJsonpublic MapLayer clone()
clone in class GenericJson