[OpenLayers-Users] saving the view as an image, or to PDF?
angus scown
gus at sdx.com.au
Wed Dec 5 20:13:19 EST 2007
You need to use a mapserver for this as the constraints of pdf are very
different to a browser. Openlayer is for presentation of information in
the browser.
We use a php mapscript that takes the layers and then generates a single
jpeg file. We send the script the current layers, the extents and size
of image (same as map div).
There are other examples to get you started if you search the mail list
archive for pdf or printing.
Gregor Mosheh wrote:
> What methods are available to save the current map image elsewhere, say
> into a PDF or as a static image?
>
> I do hope that I'm wrong about it not being possible. :)
>
>
More information about the Users
mailing list