[Users] Fwd: GeoExt.LegendPanel too slow with too many sublayers

Vito Meuli v.meuli at tecnologieavanzate.it
Tue May 11 09:12:45 CEST 2010


[Cross posting from Mapfish-Users]

Hi list!
I'm facing a problem with my first production-lever webgis realized with Mapfish+GeoExt.

The customer requires a lot of WMS Layers (about 30), each Layer having a lot of sublayers, so I have about 300 sublayers in my map...non all displayed, of course! :-)
They are in a mapfish.widgets.LayerTree, some displayed and a lot of them off.

I'm displaying the legend by means of a GeoExt.LegendPanel.

Now the problem is that GeoExt.LegendPanel loads all of the sublayers images, without considering weather the Layers are on or off...you can imagine it takes 2 minutes to load the LegendPanel!
No good.

I'm using old (some months) version of Mapfish and GeoExt...
What version are they? I don't know! How can I tell from the code what version  are they? 
(I messed up code folders from different version in the process of solving some bugs in the last few months).

I cannot find any message in the list about such a problem.

Can you advise some solution?
* New version of GeoExt?
* Any parameter that can correct the bad behaviour?

* Reducing the number of sublayers, I know it shoud be done, but it costs a lot of data analisys to understand which sublayers can be merged in a single sublayer.

I'll have the webgis published in a few days, if you need to look at the code.

Thank you in advance!
Cheers
Vito Meuli
-- 
ing. Vito Meuli
Tecnologie Avanzate s.r.l.
via B. Croce 49
70015 Noci
BARI

web: www.tecnologieavanzate.it
tel. +390804979652
fax. +390804979263

-- 
ing. Vito Meuli
Tecnologie Avanzate s.r.l.
via B. Croce 49
70015 Noci
BARI

web: www.tecnologieavanzate.it
tel. +390804979652
fax. +390804979263


More information about the Users mailing list