Windows Phone BingMapsDirections任务位置不带标签
我想使用 BingMapsDirectionsTask 从当前位置导航到指定位置。 这是我的代码:
BingMapsDirectionsTask bingMapsDirectionsTask = new BingMapsDirectionsTask();
LabeledMapLocation lml = new LabeledMapLocation();
lml.Location = location;
bingMapsDirectionsTask.End = lml;
bingMapsDirectionsTask.Show();
它不起作用,因为我没有任何标签,你可以看到这个屏幕截图: https://i.sstatic.net/HoqRm.png
我可以仅使用带有纬度的 BingMapsDirectionsTask /经度参数 ?
感谢您的回答
I want navigate from my current position, to a specified location using BingMapsDirectionsTask.
Here is my code :
BingMapsDirectionsTask bingMapsDirectionsTask = new BingMapsDirectionsTask();
LabeledMapLocation lml = new LabeledMapLocation();
lml.Location = location;
bingMapsDirectionsTask.End = lml;
bingMapsDirectionsTask.Show();
It doesn't work because I don't have any label, you can see this screenshot :
https://i.sstatic.net/HoqRm.png
Can I use BingMapsDirectionsTask with just a latitude/longitude parameter ?
Thank's for your answers
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试使用这样的东西:
Try using something like this: