mapfish / mapfish-print

A component of MapFish for printing templated cartographic maps. This module is the Java serverside module.
http://mapfish.github.io/mapfish-print-doc/
BSD 2-Clause "Simplified" License
184 stars 417 forks source link

Rotation the wrong way with the "compatibility" API #186

Closed asaunier closed 9 years ago

asaunier commented 9 years ago

With mapfish-print2, the rotation parameter is understood as the rotation of the canvas (in a GeoMapFish application if the user rotates the footprint leftwards/counter-clockwise => rotation < 0).

With mapfish-print3, "rotation" seems to be the angle of the map content instead. As a result when using print3 with GMF in compatibility mode, the map in the generated PDF is turned the wrong way. See the screenshots attached:

It would probably be necessary to reverse the rotation value when using the compatibility mode.

tsauerwein commented 9 years ago

Fixed with #301