I have made a Python script based on PIL and the aggDraw libraries which can be used for printing/exporting the map as an image. An example can be seen at http://xyz.malmo.se/stadsatlas_dev/index.html?width=1200&height=600 or http://xyz.malmo.se/stadsatlas/index_skarp_sma.htm . We use the same script for exporting to pdf/png/jpg (etc) also. The client-side code is built upon the example given here: http://trac.osgeo.org/openlayers/wiki/Printing .
The script works so far only with TileCache, WMS and OpenLayers.Layer.Vector layers. If anyone is interested and wants to develop it further, let me know. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Printing-the-map-tp2223374p5811322.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
