如何计算Windows Phone 8地图的速度? [英] How to calculate speed in windows phone 8 maps ?
本文介绍了如何计算Windows Phone 8地图的速度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我在我的一个windows maps api中使用HERE maps API。我想知道如何计算车辆的速度?
I am using HERE maps API in one of my windows maps api. I would like to know how can I calculate the speed of the vehicle?
提前致谢。
推荐答案
您可以使用此计算来确定行进距离
You can use this calculation to figure out distance traveled
http://www.vcskicks.com/code-snippet/distance-lat-lon.php
你只需要知道两个人之间的时差来计算速度
You just need to know the time difference between the 2 people to calculate speed
这篇关于如何计算Windows Phone 8地图的速度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文