[OpenLayers-Users] How to print map area with openlayers

Robert Sanson SansonR at asurequality.com
Mon Apr 26 17:07:17 EDT 2010


What we have done in our system (OpenLayers + Mapserver) is write some Javascript code to get a list of layers that are visible and the map extent from OpenLayers, then send the parameters to a Python script in our cgi-bin directory, which then sends a CGI map request to Mapserver. The returned image is turned into a PDF by the Python ReportLab module which is then returned to the calling Web page.
 
regards,
 
Robert Sanson

>>> guillaumev <guillaume at viguierjust.com> 27/04/2010 7:29 a.m. >>>

Hi,

soatley > I'm trying to do the exact same thing (server side stitching of
the different layers of the map). However, after using the code here:
http://trac.openlayers.org/wiki/Printing, the vector layers do NOT get
printed. Do you have some reusable code that you would be willing to share,
in order to properly print the vector layers ? Thank you.
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-to-print-map-area-with-openlayers-tp4901023p4964522.html 
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users at openlayers.org 
http://openlayers.org/mailman/listinfo/users 



This message has been scanned for malware by SurfControl plc. www.surfcontrol.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100427/e10dc477/attachment.html


More information about the Users mailing list