[Users] Legend in Accordion panel

Luís de Sousa luis.a.de.sousa at gmail.com
Tue May 21 11:52:04 CEST 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20130521/ee591c03/attachment.htm 


More information about the Users mailing list