使用Google Map计算位置之间的距离 [英] Calculate distance between locations using Google Map

查看:234
本文介绍了使用Google Map计算位置之间的距离的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何使用Google地图上的邮政编码与asp.net计算两个地点之间的距离?

这将是很好的帮助。

感谢您的问候,

Joti Parkash

How we can calculate the distance between two locations using zip code on Google Map with asp.net?
That will be great help.
Thank you and regards,
Joti Parkash

推荐答案

http://stackoverflow.com/questions/641784/how-to-get-distance-from-google-map -api-from-server-side-asp-net-2-0 [ ^ ]

http://www.google.com/support/forum/p/maps/thread?tid= 4bbf9c913170e924& hl = en [ ^ ]


你h ave首先从邮政编码中找到lat long并计算它之间的距离



http://www.billsternberger.net/asp-net-mvc/latitude-and-longitude-lookup-with-jquery -c-asp-net-mvc / 在这里你可以找到lat-long从邮政编码



和距离计算

http://www.zipcodeworld.com/samples/distance.cs.html



这里您可以获取邮政编码实用程序
谢谢
You have to first find lat long from Zip code and calculate distance between that

http://www.billsternberger.net/asp-net-mvc/latitude-and-longitude-lookup-with-jquery-c-asp-net-mvc/ here you can find lat-long from zip code

and for distance Calculation
http://www.zipcodeworld.com/samples/distance.cs.html

Here You can get ZIP Code Utility
Thanks


参考这篇文章



http://blog.sb2.fr/post/2008/11/23/ Get-Address-A-to-B-Distance-using-GoogleMaps-with-C.aspx [ ^ ]


这篇关于使用Google Map计算位置之间的距离的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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