[mapserver-users] Points with hyperlinks

Florin A. pianosnake at gmail.com
Thu Sep 25 10:51:52 EDT 2008


Look at the examples for map and query templates and try this:  Setup
a separate query template html file for your point layer. Inside this
template put a JavaScript function that opens a new window based on
the attribute you want. When the query template loads after a click on
the map, then the new window will open.


On Thu, Sep 25, 2008 at 6:00 AM, Matej <matej at matnet.net> wrote:
> Hi,
>
> I have a mapfile with layer that has a large number of points on it. Every
> point (well, many of them) has an attribute "hyperlink". What would be the
> easiest way to achieve a "clickable" point and get that URL in a new window?
>
> Matej Serc
> matej at matnet.net
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>


More information about the mapserver-users mailing list