|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.maps.client.overlay.Overlay
com.google.gwt.maps.client.overlay.Overlay.ConcreteOverlay
com.google.gwt.maps.client.overlay.Layer
public class Layer
This class instantiates a predefined "layer" overlay consisting of a
collection of related items. It implements the Overlay
interface and
thus is added to the map using the
MapWidget.addOverlay(Overlay)
method.
For example:
map.addOverlay(Layer.newInstance("com.panoramio.all"));
Nested Class Summary | |
---|---|
static class |
Layer.LayerJso
Native methods to access the Glayer object. |
Nested classes/interfaces inherited from class com.google.gwt.maps.client.overlay.Overlay |
---|
Overlay.ConcreteOverlay |
Field Summary |
---|
Fields inherited from class com.google.gwt.maps.client.overlay.Overlay |
---|
jsoPeer |
Constructor Summary | |
---|---|
Layer(com.google.gwt.core.client.JavaScriptObject jsoPeer)
|
Method Summary | |
---|---|
void |
hide()
Hides this overlay so it is not visible, but maintains its position in the stack of overlays |
static boolean |
isHidden(java.lang.String layerId)
returns true if the named layer is currently hidden. |
static Layer |
newInstance(java.lang.String layerId)
Create a new layer instance |
void |
show()
Shows a previously hidden Layer. |
Methods inherited from class com.google.gwt.maps.client.overlay.Overlay.ConcreteOverlay |
---|
copy, initialize, redraw, remove |
Methods inherited from class com.google.gwt.maps.client.overlay.Overlay |
---|
createPeer, getZIndex |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Layer(com.google.gwt.core.client.JavaScriptObject jsoPeer)
Method Detail |
---|
public static boolean isHidden(java.lang.String layerId)
true
if the named layer is currently hidden.
public static Layer newInstance(java.lang.String layerId)
layerId
- unique Layer ID.
http://spreadsheets.google.com/pub?key=p9pdwsai2hDN-cAocTLhnag
contains a list of the currently supported layers.public void hide()
public void show()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |