How to lock navigation on Bing Maps Metro Style?

Answered How to lock navigation on Bing Maps Metro Style?

  • Wednesday, April 25, 2012 8:58 PM
     
     

    I want the map to be static, making it imposible to move or do anything on it. I just want it to show some near locations to where the user is.

    ¿Is that possible?

All Replies

  • Wednesday, April 25, 2012 11:15 PM
     
     Answered Has Code

    The easiest way is to add a transparent grid overlay as a sibling of the map to cover it up. Something along the lines of:

    <Grid>
      <bm:Map />
      <Grid Background="Transparent" />
    </Grid>

  • Thursday, April 26, 2012 8:18 PM
     
     
    Well, yes, it works, it doesn't look so well, because the controls are still there, thanks anyway.
  • Thursday, July 12, 2012 3:12 PM
     
     Answered

    A better way to disable interaction with the map from touch and mouse gestures is to set IsHitTestVisible="false" & IsTabStop="false".

    This way you aren't adding additional UI elements where they aren't needed.

  • Friday, July 13, 2012 8:49 PM
     
     

    If you want a non-navigable map, have you considered just using the static map API?

    http://msdn.microsoft.com/en-us/library/ff701724.aspx

    You'll get a simple image back that you can display statically.