[mapserver-users] external links in a map
Puneet Kishor
pkishor at GeoAnalytics.com
Wed Sep 4 09:24:34 PDT 2002
well, it may be a bit more complicated than that...
> -----Original Message-----
> From: Mark Phillips [mailto:mbp at geomtech.com]
> Sent: Wednesday, September 04, 2002 8:56 AM
> To: mail2stern at gmx.net
> Cc: mapserver-users at lists.gis.umn.edu
> Subject: Re: [mapserver-users] external links in a map
>
>
>
> > Is there a way to include URL's / links into a map?
> > For example: the user clicks on an object, symbol or label
> and the click
> > triggers the link.
>
> It should be possible to do this in a mapscript script (php,
> perl, ...)
> by detecting the click in the script, and having the script send
> an http "Location:" header back to the browser to cause it to go to
> whatever URL you want the clicked-on object to correspond to.
>
let's say I am mapping houses... and I want the resulting map to have an
embedded imagemap so that when I click (or, better yet, hover) on a house a
window pops up with some attributes for that house... in other words, I have
streamed the attributes along with the map all of it to the client. Since I
don't know where each house is going to be, I can't really construct an
imagemap. I mean, it can be done... its just not easy... I would have to
preprocess all the features in a result set, get their bounding boxes, and
then generate an imagemap from those boxes before sending all of it to the
client...
someone correct me if I am wrong.
pk/
More information about the MapServer-users
mailing list