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@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@lists.maptools.org
  http://lists.maptools.org/mailman/listinfo/cartoweb-users
_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to