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

发布于 2024-12-15 03:07:52 字数 1373 浏览 3 评论 0原文

我正在使用此基本代码在我的 Windows Phone 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 模拟器。

我不明白出了什么问题。

谢谢和问候。

现在我将其安装在 Windows Phone 设备上,并且地图已加载,但未加载到模拟器上。

有人有答案吗。

I am using this basic code to display Bing Maps on my window phone 7 emulator.

<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>

But every time i get this error Message "Unable to contact server Please try again Later"

I have registered key with Application Type(Developer)

Proxy settings are also done and emulator's browser is able to access websites.

I am using Microsoft visual studio 2010 and windows phone 7 emulator.

I am not getting what is going wrong.

Thanks and Regards.

Now i installed this on window phone device and the map is loaded but not on emulator.

do someone has an answer.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文