map and hyperlinks
Richard Greenwood
richard.greenwood at GMAIL.COM
Fri Apr 13 06:21:41 PDT 2007
On 4/13/07, Fabio Leme de Almeida <fabio at geoja.com.br> wrote:
> Richard,
>
> Can you post an example ?
>
> Thank's
>
> Fabio
This is an old post that tries to clarify a couple things about template files:
http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0110/msg00072.html
In answer to Giu's question about going to different web pages for
each icon, I would suggest using a server-side script to process a
query string something like:
TEMPLATE="http://myserver/process_click.php?icon=[icon_id]
Another thing to try, but I do not know if it would work, would be to
have multiple TEMPLATE in multiple CLASS, for example:
LAYER
...
CLASS
EXPRESSION 1
TEMPLATE "http:url/for/item/1"
END
CLASS
EXPRESSION 2
TEMPLATE "http:url/for/item/2"
END
...
END
--
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com
More information about the MapServer-users
mailing list