[mapserver-users] RE: Interface design advice

Stephen Woodbridge woodbri at swoodbridge.com
Tue Jun 4 08:12:28 EDT 2002


simon yc wrote:

> Problem:
> In other parts of my website, I sometimes mention a place, say XYZ and
> provides a link to
> the map application to directly zoom to it. With non-frames solution, I can
> send a url like "www.map.com?place=XYZ
> What is the solution for frames ?

It depends on what you want to do with the link to a frame. 

Typically, if you already have the frames loaded and with your content
in one frame and you just want the map to show in another frame you add
a <img src="www.map.com?place=XYZ" target="map_frame">

or you could place a link that would popup a window with the map's
parent frameset and use some javascript to get it to load the correct
"www.map.com?place=XYZ" location.

-Steve



More information about the mapserver-users mailing list