Heron

Previous topic

Heron.widgets.CapabilitiesTreePanel

Next topic

Heron.widgets.FeatSelGridPanel

Heron.widgets.ContextBrowserPanel

Extends
xtype
hr_contextbrowserpanel
class Heron.widgets.ContextBrowserPanel(config)

A panel designed to hold link shortcuts to map contexts (layers/zoom/center). A map context is a set of layers to be activated, a zoomlevel to be zoomed into plus the point (x,y) where the map should be centered.

{
        xtype: 'hr_contextbrowserpanel',
        id: 'hr-contextbrowser',
        // The contexts to create shortcuts for in the context browser.
        hropts: [
        {
            id: 'klic',
            name: 'KLIC Voorbeeld',
            desc: 'een voorbeeld van een KLIC',
            layers: ['OpenStreetMap', 'KLIC1-GBKN', 'KLIC1-KPN'],
            x: 253922,
            y: 574468,
            zoom: 11
        },
        {
            id: 'debrug',
            name: 'Kadaster - De Brug',
            desc: 'een voorbeeld van een Place2',
            layers: ['Luchtfoto (NLR)'],
            x: 194194,
            y: 465873,
            zoom: 10
        }
    ]
},