Preventing browser refresh using Mapserver
Steve Lime
steve.lime at DNR.STATE.MN.US
Tue Feb 28 15:18:19 PST 2006
You can also do something like is done on this site:
http://www.dnr.state.mn.us/maps/landview.html
The coordinates are managed entirely on the client using javascript. Only the
images are ever swapped. In this example the legend is swapped using AJAX
each time the map changes (to deal with layers/scaling). We're getting away
from that though using XML extracted via a mapfile and hooking that together
with the Yahoo developer tools (tree/task/folder view). I hope to have a
something that sits atop the Yahoo libs along with a bit of custom stuff
very soon (call it dBox2)...
Combine this or something like ka-map with a bit of AJAX and you can do a
lot without ever refreshing the page.
Steve
>>> Ben Crane <crane_ba at YAHOO.COM> 02/28/06 3:16 AM >>>
Hi all,
In Mapserver applications, is there anyway of stopped
the page being refreshed every time a request is made
to the server? I have heard of using XML HTTP Request
Object?
Regards
Ben
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the MapServer-users
mailing list