Tuesday, October 14, 2008

Vector layer support added to the print module

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
  • legends
  • a scale bar
  • an overview map

This ticket will be committed after the release of MapFish version 1.0.

No comments: