[Cartoweb-users] Omit layers from PDF legend
wochter
wochter at seznam.cz
Mon Oct 15 10:09:39 EDT 2007
Yes, I know this definition for legend entry,
but I want omit this layer from mainmap, not only from legend.
Is it possible?
thanx
wochter
Oliver Christen wrote / napísal(a):
> hi
>
> i think you can unselect layer from the legend block by simply writing
> their id (the layer id is what you used in the layers.ini file) with a
> "!" in front.
>
> so, for example with the demoCW3, you have the layers "road" and
> "icelan" defined in the layers.ini and you dont want them to be listed
> in the legend, you write
>
> blocks.legend.content = "!road, !iceland"
>
> (dont forget to remove the ; at the front of the line!)
>
> regards
>
> Oliver
>
> ----- Original Message -----
> *From:* bmw at benwyss.com <mailto:bmw at benwyss.com>
> *To:* cartoweb-users at lists.maptools.org
> <mailto:cartoweb-users at lists.maptools.org>
> *Sent:* Wednesday, September 26, 2007 8:35 PM
> *Subject:* [Cartoweb-users] Omit layers from PDF legend
>
> Hello
>
> I would like to omit some layers from appearing on the PDF ledged. I
> noticed that in the ClientExportPdf.php file, there is a note that
> /‘layers whose ids begin with "!" are not displayed’/. Am I on the
> right track with this? What is a layers ‘layer id’?
>
> I have also noticed that the PDF legend is using the
> Layers.example.children = /examplename/ as the name for the layer
> in the legend in my layers.ini file.
>
> Thank you for the help, Ben
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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