[Cartoweb-users] hide query icon
oliver.christen at camptocamp.com
Wed Sep 17 09:10:31 EDT 2008
to deactivate a tool, imply set a negative weight in the related plugin .ini
for example, weightQueryByBbox = -1
the problem you have is because the tool is still considered active from the
handle the tools try to deactivate the tool you have in your toolbar 3, but
since you commented it, it wont find it and the tool will not get switched
correctly, hence you are stuck to zoom in.
----- Original Message -----
From: "Lauber Christoph" <ch.lauber at geo-thun.ch>
To: <cartoweb-users at lists.maptools.org>
Sent: Wednesday, September 17, 2008 2:38 PM
Subject: [Cartoweb-users] hide query icon
> Hi list
> This might be a silly question, but I don't find the answer.
> I want to make a cartoweb application where the user is not allowed to
> make a query. Therefore I would simply like to hide the query icon. But
> when I comment the line --include file="toolbar.tpl" group="3"-- (in
> query.ini I set groupPlugin=3) in my cartoclient.tpl file the pan and zoom
> functions get broken. They just do 'zoom in' all the time.
> Thanks for help.
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
More information about the Cartoweb-users