public final class MapLayer extends MapItem
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 |
|---|
MapLayer()
Constructs MapLayer.
|
| Modifier and Type | Method and Description |
|---|---|
MapLayer |
clone() |
java.util.List<java.lang.Double> |
getDefaultViewport()
An array of four numbers (west, south, east, north) which defines the rectangular bounding box
of the default viewport.
|
java.lang.String |
getId()
The ID of this MapLayer.
|
java.lang.String |
getKey()
A user defined alias for this MapLayer, specific to this Map.
|
java.lang.String |
getName()
The name of this MapLayer.
|
java.lang.String |
getVisibility()
The visibility setting of this MapLayer.
|
MapLayer |
set(java.lang.String fieldName,
java.lang.Object value) |
MapLayer |
setDefaultViewport(java.util.List<java.lang.Double> defaultViewport)
An array of four numbers (west, south, east, north) which defines the rectangular bounding box
of the default viewport.
|
MapLayer |
setId(java.lang.String id)
The ID of this MapLayer.
|
MapLayer |
setKey(java.lang.String key)
A user defined alias for this MapLayer, specific to this Map.
|
MapLayer |
setName(java.lang.String name)
The name of this MapLayer.
|
MapLayer |
setVisibility(java.lang.String visibility)
The visibility setting of this MapLayer.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.util.List<java.lang.Double> getDefaultViewport()
null for nonepublic MapLayer setDefaultViewport(java.util.List<java.lang.Double> defaultViewport)
defaultViewport - defaultViewport or null for nonepublic java.lang.String getId()
null for nonepublic MapLayer setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getKey()
null for nonepublic MapLayer setKey(java.lang.String key)
key - key or null for nonepublic java.lang.String getName()
null for nonepublic MapLayer setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getVisibility()
null for nonepublic MapLayer setVisibility(java.lang.String visibility)
visibility - visibility or null for nonepublic MapLayer set(java.lang.String fieldName, java.lang.Object value)