[Users] How to print vectors?
Tim Heuer
HeuerT at landcareresearch.co.nz
Mon Apr 4 00:45:45 CEST 2011
Hi Robert,
Assuming you use the mapfish print module, I can explain why the vector layers on the map are not printed:
Currently, the print module only supports printing layers that come through a WMS, such as MapServer. By hitting the “print” button in the web app, you are initiating a request to the print module with some parameters, such as an extent, the layers to be printed and some other text variables, such as title and comment etc. However, I haven’t seen or come across it sending also a whole vector layer. As far as I know, this is not implemented. I might be wrong, because I haven’t checked this in the source code, but I also haven’t seen it in the documentation.
You can however print vector WMS by letting the print module request an SVG instead of raster tiles.
Good luck,
Tim
From: users-bounces at geoext.org [mailto:users-bounces at geoext.org] On Behalf Of Robert Buckley
Sent: Sunday, 3 April 2011 8:26 p.m.
To: users at geoext.org
Subject: [Users] How to print vectors?
Hi,
I am trying to incorporate a print function into my app. The app basically shows a vector layer and creates a grid, When I try to print the mappanel the vectors are not present. Can anyone help me understand why and why this is a problem when printing?
thanks,
Robert
________________________________
Please consider the environment before printing this email
Warning: This electronic message together with any attachments is confidential. If you receive it in error: (i) you must not read, use, disclose, copy or retain it; (ii) please contact the sender immediately by reply email and then delete the emails.
The views expressed in this email may not be those of Landcare Research New Zealand Limited. http://www.landcareresearch.co.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20110404/9ec022b0/attachment.htm
More information about the Users
mailing list