This project is read-only.

Map changing extent on resize

Oct 31, 2011 at 1:14 PM

I have noticed that if the map is resized without maintaining the exact aspect ratio i.e. a white area appears at the top or bottom of the map shown, then it causes the map to zoom out.

The issue with this is that I cannot set correctly the initial view extent of the map when it is loaded since the control is created and loaded then windows resizes the form when it is docked.
I have tried to do it on the Load event of the form but it's still to early as the form still resizes it's self a number of times :(
Is there any way to turn off this behaviour ?

Oct 31, 2011 at 7:34 PM

This is related to a bug jiri has noticed.

Nov 2, 2011 at 3:26 PM

Has anyone found a work around or fix for this as it will cause me a lot of issues with the user exerience of using the map control.
When a user creates an object on the map is hidden to display the editing form but when the editing form is closed and the map shown the map has moved or even worse if it has been minimized appears to totaly disappear!