Problem with hilight

View: New views
2 Messages — Rating Filter:   Alert me  

Problem with hilight

by Giovanni Virdis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

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

Re: Problem with hilight

by Oliver Christen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
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:
 
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 -----
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@...
http://lists.maptools.org/mailman/listinfo/cartoweb-users

_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@...
http://lists.maptools.org/mailman/listinfo/cartoweb-users