Class LegendGraphic
Object
|
+--WidgetBase
|
+--WidgetBaseXSL
|
+--LegendGraphic
- class
LegendGraphic
- extends WidgetBaseXSL
Author: Cameron Shorter cameronATshorter.net
Deprecated
Defined in LegendGraphic.js
Constructor Summary |
LegendGraphic
(widgetNode, model)
Functions to render and update a Legend from a Web Map Context.
|
Method Summary |
void
|
refresh(objRef, layerName)
Listener method to paint this widget
|
LegendGraphic
LegendGraphic(widgetNode, model)
Functions to render and update a Legend from a Web Map Context.
WARNING: In most cases you probably want either Legend.js or LayerControl.js they
both display the legend graphic per layer.
Parameters:
widgetNode
- The widget's XML object node from the configuration document.
model
- The model object that this widget belongs to.
Author: Cameron Shorter cameronATshorter.net
Deprecated
refresh
void refresh(objRef, layerName)
Listener method to paint this widget
Parameters:
layerName
- the name of the layer to highlight
Documentation generated by
JSDoc on Tue Aug 21 08:12:28 2007