Reputation: 1761
Hi I am developing an windows store app using Bing Map SDK, but the app doesn't show the map but instead shows stop screen just like it should for unsupported regions even after I updated the HomeRegion to US and Culture to en-US.
<Maps:Map Credentials="<key>" Margin="0,-10,0,10" HomeRegion="US" Culture="en-US" />
</Grid>
Can someone tell me what am I missing here?
Upvotes: 4
Views: 1093
Reputation: 39978
Either do this in XAML
HomeRegion="US"
Or in code as
MyMap.HomeRegion = "US";
Here is the list of supported regions in Bing Map.
Upvotes: 5
Reputation: 16361
Try deleting the HomeRegion and Culture attributes. I use the map in my app according to http://timheuer.com/blog/archive/2012/03/06/bing-maps-for-winrt-xaml.aspx and works without a problem
Upvotes: 0