cgxp.tree.LayerTree

xtype
cgxp_layertree

Used state :

tree_group_opacity_[my_group]:
  • Opacity of the given group (number between 0 an 1).
  • Example: &tree_group_opacity_myAlmostInvisibleGroup=0.1
tree_groups:
  • Open and display the given theme. Use commas (%2c) to specify more than one theme. The first theme will be on the top, the second will be at the second position, and so on.
  • Example: (%20 is space char.): &tree_groups=MyTopTheme%2cMy%20second%20theme
tree_group_layers_[my_group]:
  • Open and display the given group. Use commas (%2c) to specify more than one group.
  • Example: &tree_group_opacity_myGroup=a_Layer%2can_another_layer
tree_Layers:
  • Display the given layers. Use commas (%2c) to specify more than one layer.
  • Example: &layers=a_layer%2can_another_layer
tree_time_[my_group]:
  • Set the default min and max values of a time range or a single value.
  • Only set the min value: &tree_time_myGroupA=2006-01-01/
  • Only set the max value: &tree_time_myGroupA=/2013-12-31
  • Set both the min and max values: &tree_time_myGroupA=2006-01-01/2013-12-31
  • Set the value: &tree_time_myGroupA=2008-05-05

Config Options

Configuration properties.

autoExpand

Boolean True to expand the tree node when we check it, default to true.

defaultThemes

Array(String) The default themes to load at init time.

friendlyUrl

Boolean True to enable friendly URL support (HTML5 browsers only), default to true.

mapPanel

GeoExt.MapPanel

permalinkThemes

Array(String) The themes to load at init time. Automatically set.

stateId

String Prefix of parameters in the permalinks

themes

Object The initialConfig of themes

uniqueTheme

Boolean True to have only one theme on the layer tree, default to false.

updateLegendDelay

Number The number of milliseconds the update of legends is deferred by. Defaults to 2000.

wmsOptions

Object Optional global configuration for WMS layers

wmsURL

String The URL of the WMS service

wmtsOptions

Object Optional global configuration for WMTS layers

Table Of Contents

Previous topic

cgxp.WMSLegend

Next topic

cgxp.slider.WMSTimeSlider

This Page

Fork me on GitHub