百度地图两坐标距离(返回(米)单位)
var map = new BMap.Map("allmap");
var point1 = new BMap.Point(116.493668,40.007015);
var point2 = new BMap.Point(116.493237,40.009253);
var distance = map.getDistance(point1,point2);
console.log(distance)
var map = new BMap.Map("allmap");
var point1 = new BMap.Point(116.493668,40.007015);
var point2 = new BMap.Point(116.493237,40.009253);
var distance = map.getDistance(point1,point2);
console.log(distance)