Ah sorry, I forgot the Legend widget is coded with some renderer subclasses. Try myLegend.renderer.expandAll()

Mike

Rodolfo Moreno wrote:
Thanks Mike for your quickly answer.
I tried your suggestion:
var myLegend = Fusion.getWidgetById('Legend');
myLedend.expandAll();

but this raises an error: expandAll() is not supported by this object.
how I must call to "expandAll()" function?
I think that first I must access to folder containing the layer information
I am interested in, but I don't how to do it.

thanks in advance.

-----
Rodolfo Moreno
CivilEng


--
  Michael Adair
  Senior Software Architect
  DM Solutions Group Inc.

  Office: (613) 565-5056 x26
  mad...@dmsolutions.ca
  http://www.dmsolutions.ca
  http://research.dmsolutions.ca


_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to