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
712
ScaleTransform on Maplayer
posted

Hi,

How could i do Scale Transformation on a particular MapLayer?

 

Thx.

NNT

  • 3255
    Verified Answer
    posted

    Hi nyinyithann

    You can use XamMap's WindowZoom and WindowScale to control how map is rendered, but I guess you want to scale the whole control, if that is the case you can use XamMap.Viewport.

    xamMap.Viewport.RenderTransform = new ScaleTransform() {ScaleX = 2, ScaleY = 2};

    Please let me know if you have more questions.

    Regards,

    Ivan Kotev