[OpenLayers-Users] saving the view as an image, or to PDF?
eric.c2c at gmail.com
Thu Dec 6 00:28:58 EST 2007
On Dec 6, 2007 2:13 AM, angus scown <gus at sdx.com.au> wrote:
> 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).
Yes. And if you have features rendered on your map that you'd like on
your PDF map, you can send the coords of these features to the server,
and have your mapscript program do the rest.
> There are other examples to get you started if you search the mail list
> archive for pdf or printing.
Which mailing list? MapServer I suppose.
More information about the Users