Skip to content

Instantly share code, notes, and snippets.

View ulimueller's full-sized avatar

Uli Müller ulimueller

View GitHub Profile
<?php
/**
* Provides an http interface to wkhtmltopdf / wkhtmltoimage.
*
* We use this code to get a combined image of all map layers and
* tiles of an OpenLayers page
*
* In order for wkhtmltoimage to capture the right extent your
* OpenLayers map must have a fixed size.
*