[mapserver-users] How do they do that???
Stephen Lime
steve.lime at dnr.state.mn.us
Wed Nov 21 11:23:11 PST 2001
Well I can speak to landview since I wrote it. In short it uses a small applet to do the display and mouse event handling and manages all of the coordinate information using a javascript library. Then I use a public method of the applet to swap the image being displayed. The image urls are actually calls to the MapServer (mode=map). This could also be done using DHTML (i.e. layers) IF you use frames or a single page design with absolute positioning of layers. Absolute positioning is fine in a frame with nothing else or if you have a design with nothing that will change size to the left and above your map. Personally I like the freedom the applet gives you.
All of my code is available on request, but it really needs more documentation (like everything else).
Steve
Stephen Lime
Data & Applications Manager
Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937
>>> "Hankley, Chip" <Chip.Hankley at GASAI.Com> 11/21/01 10:33AM >>>
I've seen a few MapServer apps where, after a navigation event, the entire
page doesn't reload... only the map window.
for example:
http://maps.dnr.state.mn.us/landview/
http://144.92.235.164/orthofinder/
How do they do that? Is this using Java? One site uses frames and the other
doesn't...
TIA
Chip Hankley
More information about the MapServer-users
mailing list