---
title: "经纬度距离计算器html版"
author: "flysnowxf"
date: "2010-10-13T18:34:35Z"
tags: ["HTML", "JavaScript", "互联网", "浏览器", "算法"]
categories: ["Web前端"]
slug: "html"
draft: false
lastmod: "2010-10-13T18:35:37Z"
id: 784076
url: "https://flysnowxf.iteye.com/blog/784076"
---

互联网搜了一下，没有找到在线计算的工具。于是找了javascript实现的算法，自己用html简单包装了一下，算的是大圆距离(The Great Circle Distance)。
javascript算法的参考地址：<http://www.itstrike.cn/Question/The-use-of-JavaScript-implementation-is-based-on-latitude-and-longitude-on-the-Earth-calculate-the-distance-between-two-points>
截图：
![](http://flysnowxf.iteye.com/upload/picture/pic/74028/ec47ec6b-f77d-3571-ac47-a4ba68e4f6d3.png)
下载见附件，下载后用浏览器打开使用即可。