Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
MapImageLayer not drawn correctly on print #1137
Steps to reproduce
DotSpatial version: HEAD of master
Alignment of the “layers” in the print should be the same as in the layout preview and map control.
Alignment of the “layers” in the print is not the same as in the layout preview and map control.
The problem seems to be, that moving the layout element in the layout control sets a rectangle with X/Y-coords != 0. MapImageLayer uses this as a offset for drawing, which is not correct, since in the drawing process, map elements are offsetted with translation (see MapFrame.cs:910) in an earlier step.