With ticket #197 comes the support for OpenLayers.Layer.Vector layers in the MapFish print module.
The client side of the print module takes all the features in such layers, pack them into the print request (in geoJSON) along with the styling information. The server side is then able to draw them in the generated PDF.
You’ll find an example of PDF generated with such layer here (1MB). In it, you’ll find:
- a semi transparent white polygon drawn using a mesure tool widget
- a scale bar
- an overview map
This ticket will be committed after the release of MapFish version 1.0.