Heron

Table Of Contents

Previous topic

Heron.widgets.FeatSelSearchPanel

Next topic

Heron.widgets.FeaturePanel

Heron.widgets.FeatureInfoPanel

Extends
xtype
hr_featureinfopanel
class Heron.widgets.FeatureInfoPanel(config)

A tabbed panel designed to hold GetFeatureInfo for multiple layers.

Example Use

Sample code showing how to configure a Heron FeatureInfoPanel. All regular ExtJS Ext.Panel config params also apply. The infoFormat config parameter is the default INFO_FORMAT to be used for WMS GetFeatureInfo (GFI). This value can be overruled by an optional per-Layer infoFormat WMS config parameter.

{
        xtype: 'hr_featureinfopanel',
        id: 'hr-feature-info',
        region: "south",
        border: true,
        collapsible: true,
        collapsed: true,
        height: 205,
        split: true,
        infoFormat: 'application/vnd.ogc.gml',
        maxFeatures: 10
}

Config Options

Configuration properties in addition to those listed for Ext.Panel.

infoFormat

String Default GFI INFO_FORMAT parameter, may be overruled per Layer object infoFormat WMS param. If not set the value application/vnd.ogc.gml will be used.

maxFeatures

String Default GFI MAX_FEATURES parameter Will be 5 if not set.