Hi,
This may be a no-brainer, but I haven't been able to find the answer myself, so here goes.
I'm trying to generate a pdf of my map using the PDF extension. This I got up and running fast using the blog entry examples.
My map consists of several custom overlays, all included with LayerOverlay. Thus all layers are server-side rendered, and have layers.
My problem is, how to determine which layers are visible in the client and which are not. I don't want to render invisible layer to the pdf.
As it is now, all layers are rendered in the pdf, even the layers (base layers and not base layers) that the client has turned off.
Please help me out. Cheers.