org.gwtopenmaps.openlayers.client.layer
Class Layer
java.lang.Object
org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
org.gwtopenmaps.openlayers.client.layer.Layer
- Direct Known Subclasses:
- Canvas, Google, HTTPRequestLayer, Image, Markers, OSM, Vector, VirtualEarth
public class Layer
- extends OpenLayersEObjectWrapper
- Author:
- Erdem Gunay,
Amr Alam - Refractions Research,
Edwin Commandeur - Atlis EJS
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARCGIS93REST_CLASS_NAME
public static final String ARCGIS93REST_CLASS_NAME
- See Also:
- Constant Field Values
BOXES_CLASS_NAME
public static final String BOXES_CLASS_NAME
- See Also:
- Constant Field Values
GOOGLE_CLASS_NAME
public static final String GOOGLE_CLASS_NAME
- See Also:
- Constant Field Values
GRIDLAYER_CLASS_NAME
public static final String GRIDLAYER_CLASS_NAME
- See Also:
- Constant Field Values
HTTPREQUESTLAYER_CLASS_NAME
public static final String HTTPREQUESTLAYER_CLASS_NAME
- See Also:
- Constant Field Values
IMAGE_CLASS_NAME
public static final String IMAGE_CLASS_NAME
- See Also:
- Constant Field Values
MARKERS_CLASS_NAME
public static final String MARKERS_CLASS_NAME
- See Also:
- Constant Field Values
OSM_CLASS_NAME
public static final String OSM_CLASS_NAME
- See Also:
- Constant Field Values
TMS_CLASS_NAME
public static final String TMS_CLASS_NAME
- See Also:
- Constant Field Values
VECTOR_CLASS_NAME
public static final String VECTOR_CLASS_NAME
- See Also:
- Constant Field Values
WMS_CLASS_NAME
public static final String WMS_CLASS_NAME
- See Also:
- Constant Field Values
XYZ_CLASS_NAME
public static final String XYZ_CLASS_NAME
- See Also:
- Constant Field Values
Layer
protected Layer(JSObject element)
narrowToLayer
public static Layer narrowToLayer(JSObject layer)
setIsBaseLayer
public void setIsBaseLayer(boolean isBaseLayer)
isBaseLayer
public boolean isBaseLayer()
- Indicates if Layer is a BaseLayer.
- Returns:
- true if the layer is a BaseLayer
false if the layer is not a BaseLayer
getId
public String getId()
getOpacity
public float getOpacity()
setOpacity
public void setOpacity(float opacity)
displayInLayerSwitcher
public boolean displayInLayerSwitcher()
- Indicates if the Layer should be displayed in the LayerSwitcher Control.
- Returns:
- true if the layer should be displayed in the LayerSwitcher Control,
false if the layer should be hidden
setDisplayInLayerSwitcher
public void setDisplayInLayerSwitcher(boolean display)
getName
public String getName()
- Returns:
- The name of the Layer, or an empty string if no name was found.
setName
public void setName(String name)
- Parameters:
name
- - the new name for the layer.
isVisible
public boolean isVisible()
setIsVisible
public void setIsVisible(boolean isVisible)
redraw
public boolean redraw()
setZIndex
public void setZIndex(int zIndex)
- Method: setZIndex
Parameters: zIndex - {Integer}
getZIndex
public Object getZIndex()
- Method: getZIndex
Returns: {Integer} the z-index of this layer
addOptions
public void addOptions(LayerOptions layerOptions)
addLayerLoadStartListener
public void addLayerLoadStartListener(LayerLoadStartListener listener)
addLayerLoadEndListener
public void addLayerLoadEndListener(LayerLoadEndListener listener)
addLayerLoadCancelListener
public void addLayerLoadCancelListener(LayerLoadCancelListener listener)
addLayerVisibilityChangedListener
public void addLayerVisibilityChangedListener(LayerVisibilityChangedListener listener)
Copyright © 2011 sourceforge. All Rights Reserved.