Infrastructure Map Server Developer

Posts: 4
Registered: ‎07-03-2008
Message 1 of 1 (50 Views)

Firefox3, ajaxviewer & printablepage.templ

50 Views, 0 Replies
08-18-2008 05:52 AM

I am working on Windows XP with on a ajaxviewer application. To get the ajaxviewer run in firefox 3 I found a fixed mapagent.exe, isapi_MapAgent.dll and modified ajaxmappane.templ. The problem is the"Post", webAgent + reqParams, true);, which has to be a GET in order to show the map within the firefox.

But the printablepage.templ seems not to be fixed untill now...
I tried the following, but it does not work ... there is still only a printable page displayed without map ...

var requester;
requester = new ActiveXObject("Microsoft.XMLHTTP");
requester = new XMLHttpRequest();

var reqParams = "OPERATION=GETVISIBLEMAPEXTENT&VERSION=1.0.0&MAPNAME=" + encodeURIComponent(mapName) + "&SESSION=" + sessionId + "&SETDISPLAYWIDTH=" + mapWidth + "&SETDISPLAYHEIGHT=" + mapHeight + "&SETDISPLAYDPI=" + dpi + "&SETVIEWSCALE=" + scale + "&SETVIEWCENTERX=" + centerX + "&SETVIEWCENTERY=" + centerY + "&SEQ=" + Math.random();"GET", webAgent + "?" + reqParams, true);
requester.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");

document.getElementById("mapImage").src = webAgent + "?OPERATION=GETMAPIMAGE&FORMAT=PNG&VERSION=1.0.0&SELECTION=&MAPNAME=" + encodeURIComponent(mapName) + "&SESSION=" + sessionId;

Any ideas are welcome ...

Best regards,


You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community