[mapguide-users] MapGuide 2.2 and request map image

Achim H. akimh69 at googlemail.com
Wed Dec 29 13:32:43 EST 2010


Hello users,

I have a question regarding the  RequestMapImage() function.
In MG 2.1, you can change the image format from "png" to "jpg" (see below)
with a better result in performance.

function RequestMapImage(reqId, viewParams)
{
    url = webAgent +
"?OPERATION=GETDYNAMICMAPOVERLAYIMAGE&FORMAT=JPG&VERSION=2.1.0&SESSION=" +
sessionId + "&MAPNAME=" + encodeComponent(mapName) + "&SEQ=" + Math.random()
+ "&CLIENTAGENT=" + encodeComponent(clientAgent) + "&BEHAVIOR=2";
    url += viewParams;

But in MG 2.2, I don't get a better performance.
Is this a known issue?

THX
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/MapGuide-2-2-and-request-map-image-tp5875146p5875146.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list