[mapguide-users] mapFrame.DigitizePoint fails in Ie9

soudemans soudemans at ruekert-mielke.com
Mon Feb 20 15:21:15 EST 2012


Hi,

One of the functions that returns a point (x,y coordinates) when the user
clicks on the map fails when invoked in Ie9, giving us a "HTTP 404", The
Resource cannot be found error (See code below).  We have tested it on
several Ie platforms and the program only fails on 9.  Has anyone seen this
or something like it before, and if so do you have any suggestions for a
solution?

Thanks,

function btnRecordMainBrkOnClick() {
    alert("Please digitize a point along the selected watermain to indicate
the approximate location of the main break")
    parent.parent.mapFrame.DigitizePoint(OnPointDigitized);
}
	
function OnPointDigitized(point) {
    var vResultSelect = document.getElementById("resultSelect");
    var vMainId = vResultSelect.value;
    var vXcoord = point.X
    var vYcoord = point.Y
    var MaintenanceFormWindow;
    if (vResultSelect.selectedIndex >= 0) {
        var vURL = "WtrMainBreakEnter.aspx?FORMMODE=DIGITIZE&MAINID=" +
vMainId + "&XCOORD=" + vXcoord + "&YCOORD=" + vYcoord;
        var vName = "WtrMainBreakEnterForm";
        var vAtt =
"status=yes,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,titlebar=no";
        window.open(vURL, vName, vAtt, true);
    }
}

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/mapFrame-DigitizePoint-fails-in-Ie9-tp4488786p4488786.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list