how to show legend under every wms layer in tree panel?(like point,line or polygon layer symbology).
I am using geoserver 2.1.1
please reply me if anybody know.
This my treepanel code.
layerTreePanel = new Ext.tree.TreePanel({
height:400,
autoScroll:true,
id:'layerTreePanel',
title: jsonLabelObject['layerTreePanel_tile'],
rootVisible: false,
checked: false,
loader: new Ext.tree.TreeLoader({
applyLoader: false,
uiProviders: {
"layernodeui": LayerNodeUI
}
}),
root:{
children:[
new GeoExt.tree.LayerContainer(
{
text:
jsonLabelObject['administrativeBoundaries'],
layerStore: new
GeoExt.data.LayerStore(
{
layers:[barriosLayer,corregimientosLayer,distritosLayer],
loader: new GeoExt.tree.LayerLoader({
})
}
),
expanded: true
}
),
new GeoExt.tree.LayerContainer(
{
text:jsonLabelObject['customLayers'],
id:'custom',
leaf: false,
layerStore: new
GeoExt.data.LayerStore(
{
layers:[]
}
),
expanded: true
}
)
]
},
listeners: {
},
contextMenu: new Ext.menu.Menu({
}),
enableDD: true
});
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/how-to-show-legend-under-every-wms-layer-in-tree-panel-tp4949663.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
