[Qgis-developer] [qgis webclient] hide layer in menu

Otto Dassau dassau at gbd-consult.de
Wed Aug 28 07:26:16 PDT 2013


thanks Andreas, that was it...

Regards

Otto

Am Wed, 28 Aug 2013 13:29:03 +0200
schrieb Andreas Neumann <a.neumann at carto.net>:

>  Hi Otto,
> 
>  If you provide the "visibleLayers" property in the URL, it will be 
>  used. If you do not provide this property it will use the visibility 
>  setting from the QGIS project. You need to set
> 
>  var useGetProjectSettings = true;
> 
>  to be able to use the visibility from the QGIS project. It does not 
>  work with GetCapabilities.
> 
>  Andreas
> 
>  On Wed, 28 Aug 2013 12:58:47 +0200, Otto Dassau wrote:
> > Hi,
> >
> > if I want to hide the visibility of a layer in the qgis-weblient, so 
> > it is
> > not initially visible when I open the webclient in the browser but it
> > should still be possible to show the layer, if I want.
> >
> > It seems that qgis webclient doesn't understand, if I hide the layer 
> > from
> > visibility in the QGIS project.
> >
> > Is there a trick to achieve this?
> >
> > Thanks
> > Otto
> > _______________________________________________
> > Qgis-developer mailing list
> > Qgis-developer at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

-- 
Geoinformatik Büro Dassau - http://www.gbd-consult.de
FOSSGIS consulting , training , support  and analysis
Ackerstrasse 144c  ,  D - 40233 Düsseldorf  , Germany
Tel: +49-(0)211-47468178 , Mobil: +49-(0)171-4687540

--
Community Advisor - QGIS Project Steering Committee


More information about the Qgis-developer mailing list