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
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>
- Marked As Answer by Richard_BrundrittMicrosoft Employee, Owner Friday, April 27, 2012 7:51 AM
-
Thursday, April 26, 2012 8:18 PMWell, yes, it works, it doesn't look so well, because the controls are still there, thanks anyway.
-
Thursday, July 12, 2012 3:12 PM
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.
- Marked As Answer by Richard_BrundrittMicrosoft Employee, Owner Friday, July 13, 2012 7:34 AM
-
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.

