Javascript Woes
Oliver Wesp
wesp at GDV.COM
Wed Mar 9 08:22:19 PST 2005
Hello David,
I agree that the script degbugger is not helping in any way.
Seems to me as if IE doesn't like the following statement:
const defaultextent=new Array(475600, 4961800, 492500, 4974600);
Changing this to
var defaultextent=new Array(475600, 4961800, 492500, 4974600);
and the page is loading without any errors. Unfortunately that doesn't mean it's working but it's one step further. Seems to me as if there is still some work to do. But maybe it's just because I'm using a local copy.
Oliver
David Bitner schrieb:
>I have written a dbox (or I should say a butchered version of dbox
>orignally based of the MNDNR Landview) application that is very
>heavily based on js and dhtml. It works great in firefox, but I am at
>my wits end to get the thing to even load into IE -- and the Microsoft
>Script Debugger is doing absolutely nothing to help me.
>
>I have an application with some layers gathered from PostGIS that
>often take a _long_ time to load. As such, to provide maximum
>usability, I split my layers into different mapfiles to be loaded
>separately. When the page loads, or the map is refreshed, all the
>maps are loaded -- but only turned on if they are selected (so
>non-selected layers continue to load in the background). It provides
>great usability because you can turn on/off layers and you get instant
>response. When zooming you get near instant feedback as the small
>layers refresh very quickly. And if you have one of the layers that
>takes a long time to load and you are trying to zoom to a particular
>place, you can zoom off the background layers before that layer has
>even loaded to the current extent.
>
>The application is at:
>http://maps.macnoise.com/mapserver/init1.php
>JS file locations are in the header of the page.
>
>If there is anybody who can help me get my js/dhtml debugged in IE,
>I'll by you a beer at the Users Meeting.
>
>Thanks,
>David
>
>
>
>
>
--
Dipl.-Geogr. Oliver Wesp
Gesellschaft fuer geografische Datenverarbeitung
Binger Strasse 49-51
D-55218 Ingelheim
fon: +49 6132 714818
fax: +49 6132 714828
http: www.gdv.com
More information about the MapServer-users
mailing list