Hello everyone,
I'm trying to integrate a Legend panel into an accordion, with the
following set up:
myLayerStore = new GeoExt.data.LayerStore({
map: myMap,
layers: myMap.layers
});
myLegend = new Ext.Panel({
title: "Legend",
xtype: "gx_legendpanel",
layerStore: myLayerStore,
collapsible: true,
autoScroll: true,
enableDD: true,
padding: 5,
rootVisible: false,
lines: false
});
And then myLegend is included in the items array of the Accordion panel.
This way the Legend panel doesn't work, it doesn't send any requests to the
server and remains blank. What is wrong in this set up?
Thank you,
Luís
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users