[Cartoweb-users] locate with hilight
Oliver Christen
oliver.christen at camptocamp.com
Mon Mar 9 02:07:11 EST 2009
errr, what?
it seems something is broken in your project. do you have any javascript
error ?
> 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
>>>
>>
>>
> _______________________________________________
> 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