GeoExt

Table Of Contents

Previous topic

GeoExt.FeatureRenderer

Next topic

GeoExt.LayerOpacitySlider

GeoExt.LayerLegend

Extends
class GeoExt.LayerLegend(config)
Base class for components of GeoExt.LegendPanel.

Config Options

Configuration properties in addition to those listed for Ext.Container.

labelCls
String Optional css class to use for the layer title labels.
layerRecord
GeoExt.data.LayerRecord The layer record for the legend
legendTitle
String Optional title to be displayed instead of the layer title. If this is set, the value of showTitle will be ignored (assumed to be true).
showTitle
Boolean Whether or not to show the title of a layer. This can be overridden on the LayerStore record using the hideTitle property.