//根据经纬度计算两点距离 var distance = new GLatLng(39.917, 116.397).distanceFrom(new GLatLng(37.4419, -122.1419)); alert(parseInt(distance/1000,10) + "公里"); 源自:http://www.iteye.com/topic/582657 相关文章: 2022-12-23 2021-11-27 2021-11-27 2021-12-22 2022-12-23 2021-09-03