我是Windows Phone 7的新手。我想开发一个应用程序来告诉设备的当前位置(lat long)并突出显示在仿真器上工作的bing map中的当前位置,因为我没有用于测试的设备。任何帮助。
提前致谢。
答案 0 :(得分:7)
答案 1 :(得分:2)
CodePlex有一个FakeGPS实用程序(只是一个.cs文件)。
答案 2 :(得分:0)
我只是对已知位置进行硬编码:
if (location == GeoCoordinate.Unknown)
{
// Use Palo Alto if we're running in the emulator.
location_string = "&latitude=37.47&longitude=-122.12";
}