在必应地图上绘制并计算距离 [英] Draw and calculate distance on bing map

查看:91
本文介绍了在必应地图上绘制并计算距离的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我正在尝试使用必应地图进行一些应用.因此,应用程序将执行以下操作:启动应用程序并保存我的当前位置,然后当我按将我带到保存的位置"时,它将找到我的当前位置并计算距离并绘制路线 到我保存的位置.

Hy guys, I am trying to make some application with bing map. So app will do this: Start app and save my current location, and then when I press "take me to ma saved location", it finds my current location and calculates distance and draws the route to my saved location.

到目前为止,我已经有了这段代码来定位我的当前位置:

So far i have this code to locate my current location :


我可以获取/保存我的当前位置:

and i can get / save my current location :

我不知道如何从我的新位置计算/导航到我保存的位置

i don't know how to calculate / navigate to my savedLocation from my new location

Thx:)

推荐答案

RouteQuery.

RouteQuery.

http://msdn.microsoft.com/zh-CN/library/windowsphone/develop/jj244363%28v=vs.105%29.aspx


这篇关于在必应地图上绘制并计算距离的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆