Hello
I followed you example from the following link:
In my project my map contains only raster layers (not
vectors)
I rotated the Wpfmap canvas and it worked well.
The problem is that when the user performs panning or
zoom in, the behavior of the control seams not good. It seems that when panning
or zooming the image is been cropped. Meaning there are areas where the image
should be displayed by there are in fact “empty”.
I am not sure if this strange behavior is happening due to
same faulty configuration in my part.
It seems that the view is been “cut” or restricted in same
way. Maybe it is a problem of the CurrentExtent configuration, or the dimensions
of the canvas.
I succeeded to replicate the problematic behavior in a
small demo project
The attached zip file contains:
1.The source code of the demo project
2.The image I used
3.Word file with screen shots of the problematic situations
I will appreciate your advice
Thank you very much
001_Rotate_canvas.zip (52.1 KB)
002_001_image.zip (1.41 MB)
rotate_canvas_zoom_and_pan_problem.docx (1.58 MB)