Heron.widgets.CapabilitiesViewPanel

Extends
xtype
hr_capabilitiesviewpanel

Example Use

Sample code showing how to include a CapabilitiesViewPanel that automatically configures a layer tree from a WMS URL by doing a GetCapabilities and using the result to build the layertree.

      .
      .
      {
        xtype: 'panel',

        id: 'hr-menu-left-container',
                .
                .
        items: [
                {
                        // The TreePanel to be populated from a GetCapabilities request.
                        title: 'Layers',
                        xtype: 'hr_capabilitiesviewpanel',
                        autoScroll: true,
                        useArrows: true,
                        animate: true,
                        hropts: {
                                text: 'GetCaps Tree Panel',
                                preload: true,
                                url: 'http://eusoils.jrc.ec.europa.eu/wrb/wms_Landuse.asp?'
                        }},

                {
                       .
                       .
                }
        ]
},
      {
        // The MapPanel
        xtype: 'hr_mappanel',
        id: 'hr-map',
        region: 'center',
        .
        .