[mapguide-users] Fusion and Themed Layers - usability
Paul Spencer
pagameba at gmail.com
Mon Apr 6 10:05:09 EDT 2009
It does it automatically and is returned from LoadMap.php where the
image is and which layers/scales are included plus the CSS offset.
Dynamic layers (ones added after the map is loaded) don't have an
entry so their legend icon works the old way.
Cheers
Paul
On 5-Apr-09, at 6:44 PM, Jason Birch wrote:
> Paul,
>
> How does this work for MapServer? Do you just define an image URL
> and icon width/height in the Map extension element, and calculate a
> CSS offset into the image strip based on the layer item's array index?
>
> If that's the case, it wouldn't take me much work to create a PHP
> script that generates an image strip given a map definition. This
> script could either be called dynamically (if it's specified as the
> icon image URL) or could be run once by the user, and the image
> stored and hard-coded as the icon URL.
>
> I guess we'd need a special case for dynamic layers (buffer results,
> etc); do a direct GetLayerImage call for these?
>
> Jason
> ________________________________________
> From: Paul Spencer
> Sent: Sunday, April 05, 2009 2:15 PM
> Subject: Re: [mapguide-users] Fusion and Themed Layers - usability
>
> I think Jason's idea of using the bottom end of the scale + 1 would
> improve cacheability (?) but in the end it would be ideal if we could
> do the same thing with MapGuide that we did with MapServer which is to
> generate a strip of images for each layers/scale and a set of css
> offsets associated with them. The image is only generated and loaded
> once, providing significant improvements to responsiveness and load
> time._______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
More information about the mapguide-users
mailing list