Class TiledLayer

Object
   |
   +--TiledLayer

class TiledLayer


TiledLayer represents a Tiled layer on top of a map.
Defined in APIJS.js


Constructor Summary
TiledLayer(<map> map, <string[]> layers, <string> serverPath)
            Creates a new TiledLayer instance based on a map and an Array of layer names.
 
Method Summary
 void addCopyright(<GCopyright> copyright)
           Adds a copyright to the collection (Google only).
 void draw()
           Forces the Layer to redraw.
 string[] getCopyrights(<GLatLngBounds> bounds, <int> zoom)
           Gets all copyrights that apply for the given bounds and zoom (Google only).
 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
 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.
 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

TiledLayer

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

Method Detail

addCopyright

void addCopyright(<GCopyright> copyright)

draw

void draw()

getCopyrights

string[] getCopyrights(<GLatLngBounds> bounds, <int> zoom)

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