[mapguide-users] mapFrame.DigitizePoint fails in Ie9

Zac Spitzer zac.spitzer at gmail.com
Mon Feb 20 20:44:32 EST 2012


which version of mapguide?

On Tue, Feb 21, 2012 at 7:21 AM, soudemans <soudemans at ruekert-mielke.com> wrote:
> 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.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users



-- 
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168


More information about the mapguide-users mailing list