[mapguide-users] Fusion and Themed Layers - usability

Jason Birch Jason.Birch at nanaimo.ca
Sun Apr 5 18:44:12 EDT 2009


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.


More information about the mapguide-users mailing list