[mapguide-users] onclick over a symbol
Mauricio Villablanca
mgvillablanca at yahoo.com
Mon Oct 20 17:18:36 EDT 2008
Symbols are used for theming points in a layer. So by adding a URL to the
layer, you are not really clicking on a symbol but a feature that was themed
with a symbol.
Just create a script then use it to add a hyperlink to the layer. In the
layer insert this:
concat("myscript.php?featId=", concat("featId", value));
Your PHP will look like this:
<?php
$params = $_GET;
$att = $params ["featId"];
?>
Moog wrote:
>
>
> Hello mail list
>
> It is possible to add an onclick event in a map symbol? i add some symbols
> in a map and i want to add some actions when the symbols is clicked or
> selected.
>
> regards
> --
> View this message in context:
> http://www.nabble.com/onclick-over-a-symbol-tp19780322p19780322.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
--
View this message in context: http://n2.nabble.com/onclick-over-a-symbol-tp1134007p1357208.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list