I'm trying to use a bing maps control on a windows phone 7 silverlight application and it shows this error overlaid on the map.
Invalid Credentials, Sign up for a Developer Account
I've tried using app IDs from these two sites: http://www.bing.com/developers, and https://www.bingmapsportal.com/
am I doing something wrong? is there some account setting that I'm missing? For reference, here's how I'm defining the control and interacting with it:
<my:Map x:Name="MyMap" CredentialsProvider="<<myAppId>>" />
And in the code behind:
var vm = this.DataContext as ItemViewModel;
Pushpin pushpin = new Pushpin();
Location location = new Location()
{
Latitude = vm.Latitude,
Longitude = vm.Longitude
};
pushpin.Location = location;
MyMap.ZoomLevel = 15;
MyMap.Center = location;
MyMap.Children.Add(pushpin);