Class dLegend

Object
   |
   +--dLegend

class dLegend


dLegend class contains legend data and wraps YAHOO treeview class to create a DHTML legend.
Defined in dlegend.js

Requires:


Constructor Summary
dLegend ()
           
 
Method Summary
 void changeNodeStatus(<string> layerName, <boolean> status)
           Method to programmatically turn a node on or off.
 void initialize(<string> elementId, <string> xmlContent)
           Method to initialize dLegend.
 void setHandler(<int> type, handler)
           Method to register a handler/callback that will get called when the user selects a legend node.
 void update(<int> scale)
           Method to activate and inactivate nodes based on current map scale.

Constructor Detail

dLegend

dLegend()

Method Detail

changeNodeStatus

void changeNodeStatus(<string> layerName, <boolean> status)

initialize

void initialize(<string> elementId, <string> xmlContent)

setHandler

void setHandler(<int> type, handler)

update

void update(<int> scale)


Documentation generated by JSDoc on Fri May 5 14:01:20 2006