Table Of Contents

Previous topic

GeoAdmin.BodSearchWindow

Next topic

GeoAdmin.ComponentMixin

This Page

GeoAdmin.CatalogTree

Extends
xtype
ga_catalogtree
class GeoAdmin.CatalogTree(config)
param config:Object config
return:GeoAdmin.CatalogTree

Create a tree structure presented according to INSPIRE and containing the available layers

Example Use

Sample code to create a catalog tree (see also demo):

var tree = new GeoAdmin.CatalogTree({
      renderTo: "catalogtreediv",
      map: map
});

Config Options

Configuration properties in addition to those listed for Ext.tree.TreePanel.

configCatalog

Array Array of litterals to configure the nodes of the catalog tree. Default array is geoadmin tree configuration

infoWindowClass

String The info window class to be used when user clicks on ‘i’. Defaults to ‘GeoAdmin.BodSearchWindow’.

limitLayers

Int maximal number of layers to be displayed at the same time. Default to 5.

map

OpenLayers.Map A OpenLayers.Map instance

singleUnfold

Boolean true if only 1 node per branch may be expanded. Defaults to true. Be careful, is similar to singleExpand (Ext.tree.Treepanel) property, but slightly different.

sortCatalog

Boolean true to sort layers in alphabethic order. Default to true.

stateId

String The state id. Default value is “catalog”.