| param config: | Object config |
|---|---|
| return: | GeoAdmin.CatalogTree |
Create a tree structure presented according to INSPIRE and containing the available layers
Sample code to create a catalog tree (see also demo):
var tree = new GeoAdmin.CatalogTree({
renderTo: "catalogtreediv",
map: map
});
Configuration properties in addition to those listed for Ext.tree.TreePanel.
Array Array of litterals to configure the nodes of the catalog tree. Default array is geoadmin tree configuration
String The info window class to be used when user clicks on ‘i’. Defaults to ‘GeoAdmin.BodSearchWindow’.
Int maximal number of layers to be displayed at the same time. Default to 5.
OpenLayers.Map A OpenLayers.Map instance
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.
Boolean true to sort layers in alphabethic order. Default to true.
String The state id. Default value is “catalog”.