GeoPrisma logo

LegendPanel

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.

XML Sample

Sample configuration

<legendpanel>
  <name>W_MyLegendPanel</name>
    <options>
      <title>Legend</title>
    </options>
</legendpanel>

drawWidget Sample

The widget must be drawn with the drawWidget function. See drawWidget / drawWidgets.

Can be drawn in a Ext.Panel.

Mandatory Options

N/A

Optional Options

title:Title of the main legend panel
legendurl:URL of the legend icon to use with the resource

Service Type

N/A

Widget Action

read

Table Of Contents

Previous topic

InitialView

Next topic

Map

This Page