[mapguide-internals] Re: fusion legend and sprited legend images

Michael Collins (Contractor) Michael.Collins at autodesk.com
Wed Nov 17 03:51:11 EST 2010


Yeah... that's the one.

My temporary solution has been to create a new Legend widget (a clone of the existing one) that will render only a single node on the tree for a layer if there are more than 10 styles in the current scale range theme.  

The problem extends beyond the client also... testing on a single core server has shown it maxes out the CPU server side as it attempts process all of the GETLEGENDIMAGE requests.

-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Zac Spitzer
Sent: Wednesday, 17 November 2010 6:23 PM
To: MapGuide Internals Mail List
Subject: Re: [mapguide-internals] Re: fusion legend and sprited legend images

this ticket is related http://trac.osgeo.org/fusion/ticket/400

even on q core i5 64 bit desktop, the browser will lock up for a looonng time

the classic ajax viewer in these cases simply only shows the first and last icons with ... in between

z

On Wed, Nov 17, 2010 at 5:55 PM, michael.collins <michael.collins at autodesk.com> wrote:
>
> Hi,
>
> Any progress on this?
>
> We are implementing MGE for a customer that has many layers and very 
> complex styling within those layers.  With the current fusion legend 
> implementation, generating legend icons is crippling performance.  We 
> are looking at implementing something similar to what is mentioned 
> here... ie, some form of lazy loading/spriting/pre-cooking of icons.  
> I don't want to reinvent the wheel however, and it would be nice to do 
> something that is inline with the direction of the product.
>
> Regards,
> Michael
> --
> View this message in context: 
> http://osgeo-org.1803224.n2.nabble.com/fusion-legend-and-sprited-legen
> d-images-tp3789465p5746653.html Sent from the MapGuide Internals 
> mailing list archive at Nabble.com.
> _______________________________________________
> mapguide-internals mailing list
> mapguide-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>



--
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168
_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals


More information about the mapguide-internals mailing list