[Cartoweb-users] locate with hilight

Oliver Christen oliver.christen at camptocamp.com
Mon Jan 5 03:59:55 EST 2009


hi

yes, if you modify the javascript function "locate" defined in the 
locate.tpl file.
at the moment the parameter "id_recenter_layer" and "id_recenter_ids" are 
set.
you need to add the following parameters:
"query_layer" with the layer name, same as "id_recenter_layer"
"query_select" with the id of the object to hilight, same as 
"id_recenter_ids"
"query_hilight" = 1

the function triggers a submit standart of the form, so you need to pass 
these paremeters with (hidden) input elements.
i think these input elements do not exist by default, so you will need to 
add them, possibly in the cartoclient.tpl or the locate.tpl.

regards
Oliver

----- Original Message ----- 
From: "wochter" <wochter at seznam.cz>
To: <cartoweb-users at lists.maptools.org>
Sent: Monday, December 08, 2008 2:53 PM
Subject: [Cartoweb-users] locate with hilight


> Hi,
> can locate plugin hilight searched object please?
>
> thanx
>
> wochter
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
> 



More information about the Cartoweb-users mailing list