none
Map no longers has correct center after resize RRS feed

  • Question

  • I have a map which is resized when moving between the normal view and the snapped view.

    After it has been resized to a smaller size for the snapped view it doesn't appear to update it's size internally.

    If I use set view then the centre will be off set to the bottom right as if it's still using the old size.

    I've tried calling map.UpdateLayout layout after the resize but that doesn't help.

    Does anyone have a solution?

    Friday, November 30, 2012 12:04 PM

Answers

  • Hi,

    Thanks for the response!

    It turned out it was a silly mistake on our end.

    When changing to the snapped view the map wasn't being resized at all, it was remaining at it's original full screen size.

    • Marked as answer by Andy Jump Monday, December 3, 2012 1:39 PM
    Monday, December 3, 2012 1:39 PM

All replies

  • Do you have a sample demonstrating this that you can share?
    Friday, November 30, 2012 9:03 PM
  • Hi,

    Thanks for the response!

    It turned out it was a silly mistake on our end.

    When changing to the snapped view the map wasn't being resized at all, it was remaining at it's original full screen size.

    • Marked as answer by Andy Jump Monday, December 3, 2012 1:39 PM
    Monday, December 3, 2012 1:39 PM