Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1735
XamMap resize behavior
posted

Hi,

when resizing its parent container it seems to me that the default behavior of the XamMap control is to rescale itself to try to keep the original viewport within the new container bounds. This means that the XamMap content usually changes its zoom level.

I would rather like to keep the original zoom level when resizing the parent container, keeping the map data at  the top-left corner fixed and just extending/truncating the map data in the horizontal- and vertical direction. What is the easiest way to achieve this ? Is there maybe a property that affects XamMap resizing behavior ?

Regards,
Leif