[mapguide-users] onclick over a symbol
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:
$params = $_GET;
$att = $params ["featId"];
> 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
> View this message in context:
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
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