[Cartoweb-users] layers in pdf export

Oliver Christen oliver.christen at camptocamp.com
Tue Apr 22 08:19:50 EDT 2008


Hi Christoph

Cartoweb use the same security setting to display layers on screen and in 
pdf, so there is sadely no easy way to do that.

I believe the correct way to do that would be to extend the exportPdf plugin 
and use $config->setLayerIds(array) to modify the list of layers to be 
rendered. This should be done in function getConfiguration.

regards
Oliver


> Hi list
>
> Is there a possibility to prevent a layer to be printed with export pdf
> plugin? By default all selected layers are printed. But some data owners
> just want to visualise their datas but prevent them to be printed on a
> free pdf.
>
> Any idea hwo I can achieve that aim?
> Thanks for help
>
>
> Christoph Lauber
>
> _______________________________________________
> 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