Browse Source

update

master
fanwensheng 3 years ago
parent
commit
3f945510a4
  1. 4
      04.系统编码/App/Content/scripts/beijing/map.js

4
04.系统编码/App/Content/scripts/beijing/map.js

@ -516,10 +516,6 @@ var Map = function (parent) {
var to = L.latLng(realtimePoint.Latitude, realtimePoint.Longitude);
let distance = from.distanceTo(to);
return distance / 1000;
//let height = Math.abs(forecastPoint.Height - realtimePoint.Height);
//let meter = Math.sqrt(distance * distance + height * height);
//return meter / 1000;
};
this.SetDistance = function (fromLon, fromLat, toLon, toLat, features) {

Loading…
Cancel
Save