Add a GeoExt LegendPanel widget.
Note
This widget only work if the map is in a GeoExt MapPanel. It doesn’t work with the MapFish MapComponent.
Sample configuration
<legendpanel>
<name>W_MyLegendPanel</name>
<options>
<title>Legend</title>
</options>
</legendpanel>
The widget must be drawn with the drawWidget function. See drawWidget / drawWidgets.
Can be drawn in a Ext.Panel.
N/A
| title: | Title of the main legend panel |
|---|---|
| legendurl: | URL of the legend icon to use with the resource |
N/A
read