Class WMSLayer

Object
   |
   +--WMSLayer

class WMSLayer


WMSLayer represents a Non-Tiled layer. It will generate a map image for every view change. Note: If you are querying a WMS server for a png file and have special characters in the url parameters such as "&, =, #, +" your server must be able to escape ._- into % and then urlDecode the value.
Defined in APIJS.js


Constructor Summary
WMSLayer(<map> map, <string[]> layers, <string> serverPath)
            Create a new WMSLayer.
 
Method Summary
 void draw()
           Forces the Layer to redraw.
 string getFormat()
           Gets the format type.
 int getMaxZoomLevel()
           Returns the maximum zoom level.
 int getMinZoomLevel()
           Returns the minimum zoom level.
 float getOpacity()
           Returns the opacity of the layer (VE Only).
 string getProperty(<string> name)
           Returns the value associated with the property name.
 string getStyleLayerDescriptorText()
           Returns the SLD text.
 string getStyleLayerDescriptorUrl()
           Returns the SLD url.
 bool getVisible()
           Returns true if the layer is visible and false otherwise.
 int getZIndex()
           Gets the Zindex (VE Only).
 void initialize()
           Initializes the layer.
 void setFormat(<int> val)
           Sets the format type for the image layer.
 void setMaxZoomLevel(<int> val)
           Sets the maximum zoom level.
 void setMinZoomLevel(<int> val)
           Sets the minimum zoom level.
 void setOpacity(<float> val)
           Sets the opacity (VE Only).
 void setProperty(<string> name, <string> value)
           Sets the value of a property.
 void setStyleLayerDescriptorText(<string> val)
           Sets the SLD text.
 void setStyleLayerDescriptorUrl(<string> val)
           Sets the SLD url.
 void setVisible(<bool> bool)
           Sets the visibility of the layer
 void setZIndex(<int> val)
           Sets the ZIndex (VE Only).

Constructor Detail

WMSLayer

WMSLayer(<map> map, <string[]> layers, <string> serverPath)

Method Detail

draw

void draw()

getFormat

string getFormat()

getMaxZoomLevel

int getMaxZoomLevel()

getMinZoomLevel

int getMinZoomLevel()

getOpacity

float getOpacity()

getProperty

string getProperty(<string> name)

getStyleLayerDescriptorText

string getStyleLayerDescriptorText()

getStyleLayerDescriptorUrl

string getStyleLayerDescriptorUrl()

getVisible

bool getVisible()

getZIndex

int getZIndex()

initialize

void initialize()

setFormat

void setFormat(<int> val)

setMaxZoomLevel

void setMaxZoomLevel(<int> val)

setMinZoomLevel

void setMinZoomLevel(<int> val)

setOpacity

void setOpacity(<float> val)

setProperty

void setProperty(<string> name, <string> value)

setStyleLayerDescriptorText

void setStyleLayerDescriptorText(<string> val)

setStyleLayerDescriptorUrl

void setStyleLayerDescriptorUrl(<string> val)

setVisible

void setVisible(<bool> bool)

setZIndex

void setZIndex(<int> val)


Documentation generated by JSDoc on Mon Nov 24 17:54:35 2008