[Cartoweb-users] locate with hilight

wochter wochter at seznam.cz
Wed Mar 4 03:29:37 EST 2009


Hi Oliver,
do you remember this thread?
Now I found bug in this solution...
When is object recentered and hilighted by locate plugin no other object
can be queryed until refresh :-(
Do you have any idea how to fix it?
Thank you,

wochter


Oliver Christen  wrote / napísal(a):
> 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