Heron

Previous topic

Heron.widgets.IFramePanel

Next topic

Heron.widgets.LayerTreePanel

Heron.widgets.LayerLegendPanel

Extends
xtype
hr_layerlegendpanel
class Heron.widgets.LayerLegendPanel(config)

A panel designed to hold legends for Map Layers (WMS GetLegendGraphic results). Optionally enable prefetching Legends before Layer becomes visible.

 items: [
        {
                xtype: 'hr_layerlegendpanel',

                hropts: {
                        // Preload Legends on initial startup
                        // Will fire WMS GetLegendGraphic's for WMS Legends
                        // Otherwise Legends will be loaded only when Layer
                        // becomes visible. Default: false
                        prefetchLegends: false
                }
        }
]