[Cartoweb-users] Problem with hilight
Oliver Christen
oliver.christen at camptocamp.com
Fri May 29 05:47:37 EST 2009
Hi
you can hilight an element if you know it's ID, then it is simply a matter of passing some specific parameters to the server so the highlight is activated:
query_layer=*name_of_the_layer_with_the_object_you_want_to_highlight*
query_select=*id_of_the_object*
query_highlight=1
for example:
http://www.cartoweb.org/demos/demoCW3.php?query_layer=lake&query_select=384&query_highlight=1
if you want to pass the parameter via POST (html form) instead of GET (url), simply use hidden input elements and set their value with javascript before submiting the form
regards
Oliver
----- Original Message -----
From: Giovanni Virdis
To: cartoweb-users at lists.maptools.org
Sent: Wednesday, May 20, 2009 1:22 PM
Subject: [Cartoweb-users] Problem with hilight
If is possible , i want hilight an object .I want create a js with input parameter "id object" that highlight the element in the map.
------------------------------------------------------------------------------
_______________________________________________
Cartoweb-users mailing list
Cartoweb-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20090529/ae560b80/attachment.htm
More information about the Cartoweb-users
mailing list