无法在Window Phone 7模拟器上显示Bing地图

时间:2011-11-11 10:43:38

标签: silverlight windows-phone-7 bing-maps windows-phone-7.1

我正在使用此基本代码在我的窗口手机7模拟器上显示Bing地图。

<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <my:Map Height="462" CredentialsProvider="My Regestered Key" HorizontalAlignment="Left" Margin="6,6,0,0" Name="map1" VerticalAlignment="Top" Width="444" />
            <Button Content="Zoom In" Height="72" HorizontalAlignment="Left" Margin="6,535,0,0" Name="buttonZoomIn" VerticalAlignment="Top" Width="207" Click="buttonZoomIn_Click" />
            <Button Content="Road Mode" Height="72" HorizontalAlignment="Left" Margin="6,474,0,0" Name="buttonRoad" VerticalAlignment="Top" Width="207" Click="buttonRoad_Click" />
            <Button Content="Zoom Out" Height="72" HorizontalAlignment="Left" Margin="243,535,0,0" Name="buttonZoomOut" VerticalAlignment="Top" Width="207" Click="buttonZoomOut_Click" />
            <Button Content="Aerial Mode" Height="72" HorizontalAlignment="Left" Margin="243,474,0,0" Name="buttonAerial" VerticalAlignment="Top" Width="207" Click="buttonAerial_Click" />
        </Grid>

但每次收到此错误消息“无法联系服务器请稍后再试”

我已在应用程序类型(开发人员)中注册了密钥

代理设置也已完成,模拟器的浏览器可以访问网站。

我正在使用Microsoft Visual Studio 2010和Windows Phone 7模拟器。

我没有得到出错的地方。

谢谢和问候。

现在我在窗口电话设备上安装了这个,并且地图已加载但不在模拟器上。

有人有答案。

0 个答案:

没有答案