R: [UMN_MAPSERVER-USERS] map and hyperlinks

Piero Cavalieri Piero.Cavalieri at HEIDI.IT
Fri Apr 13 03:50:27 EDT 2007


I think, You could do a "click" on the icon (which corresponds to a feature) in QUERY mode. Your feature, could have an attribute which as the redirect URL. When the query response come back, via JavaScript, you parse the response (or parse it on server side) and make a window.open (or a redirect) to that url. If you don't have URLs as features attributes, You could do it in 2 steps: maps feature ids with URLs and make a second query to that table (or file) after the parsing of the query response.

Cheers
 Piero

-----Messaggio originale-----
Da: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] Per conto di Giuseppe De Rossi
Inviato: giovedì 12 aprile 2007 23.58
A: MAPSERVER-USERS at LISTS.UMN.EDU
Oggetto: [UMN_MAPSERVER-USERS] map and hyperlinks

Hi,
is there the possibility to create a layer which contains a number of
clickable icons so there is a redirection to another web page  ?

thanks in advance

Giu 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Prestiti e Finanziamenti con un semplice click, scopri subito se sei
finanziabile cliccando qui
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2910&d=20070412



More information about the mapserver-users mailing list