AW: [mapserver-users] external links in a map

Oliver Wesp wesp at gdv.com
Wed Sep 4 07:52:54 EDT 2002


Just put the Links in the attribute table of your layer, a click on the
map triggers a query and you can use - for example a
javascript-statement to open the link you retrieve from the query.

What you need in the query-template should look something like this:

LinkWin = open([LINKFIELD],"TITLE","WIDTH=200, height=200");

> -----Ursprüngliche Nachricht-----
> Von: owner-mapserver-users at lists.gis.umn.edu 
> [mailto:owner-mapserver-users at lists.gis.umn.edu] Im Auftrag 
> von Stefan Stern
> Gesendet: Mittwoch, 4. September 2002 11:37
> An: MAPSERVER
> Betreff: [mapserver-users] external links in a map
> 
> 
> Hi all,
> 
> 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.
> 
> Thanks for all suggestions,
> 
> Stefan
> 
> 
> 
> 
> 
> 




More information about the mapserver-users mailing list