Javascript Woes

David Bitner osgis.lists at GMAIL.COM
Wed Mar 9 10:36:34 EST 2005


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



More information about the mapserver-users mailing list