[Cartoweb-users] hide query icon

Claire Chastagnol chastagnol.claire at wanadoo.fr
Thu Sep 18 04:00:04 EDT 2008


Thanks Oliver!

Just one last thing which is missing : the weight parameter for the "allow vertex snapping" tool. I tried different things but none is working.

Regards.
Claire.
 
 
 

> Message du 18/09/08 08:16
> De : "Oliver Christen" 
> A : "Claire Chastagnol" , cartoweb-users at lists.maptools.org
> Copie à : 
> Objet : Re: [Cartoweb-users] hide query icon
> 
>       Hi   these are the edit tool weight parameters :   weightEditPoint
> weightEditLine
> weightEditPolygon
> weightEditMove
> weightEditDelVertex
> weightEditAddVertex
> weightEditSel
> weightEditDelFeature   i will add that in the documentation   regards Oliver    ----- Original Message -----    From:    Claire Chastagnol    To: Oliver Christen ; Lauber    Christoph ; cartoweb-users at lists.maptools.org       Sent: Wednesday, September 17, 2008 5:21    PM   Subject: Re: [Cartoweb-users] hide query    icon   
>    Hi all!
> 
> On this purpose, is it possible to desactivate and    supress some tools from the edit plugin    toolbar?
> 
> Thanks.
> Claire
> 

> 
> 
> 
>    >      Message du 17/09/08 15:18
> > De : "Oliver Christen" 
> > A :      "Lauber Christoph" , cartoweb-users at lists.maptools.org
> >      Copie à : 
> > Objet : Re: [Cartoweb-users] hide query icon
> >      
> > 
> > Hi christoph
> > 
> > to deactivate a tool, imply      set a negative weight in the related plugin .ini
> > 
> > for      example, weightQueryByBbox = -1
> > 
> > see 
> > http://www.cartoweb.org/doc/cw3.5/xhtml/user.config.html#user.config.plugins.order
> >      
> > the problem you have is because the tool is still considered active      from the 
> > point of view of the java-script and when you switch tool      the java-script that 
> > 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.
> > 
> > regards
> > Oliver
> > 
> > -----      Original Message ----- 
> > From: "Lauber Christoph" 
> > To:      
> > 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.
> > >
> > >      Christoph
> > >
> > >      _______________________________________________
> > > 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
> > 
> >      
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080918/687dfcf5/attachment.html


More information about the Cartoweb-users mailing list