无法在 Window Phone 7 模拟器上显示 Bing 地图
我正在使用此基本代码在我的 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论