Closed vstar1411 closed 9 months ago
Calculating distance based on the formula below var scale = Math.pow(2, (_this.maxNativeZoom - this._map.getZoom())); start_x = scale; start_y = scale; end_x = scale; end_y = scale; distance = math.sqrt((start_x - end_x) 2 + (start_x - end_y) 2) * mpp
Calculating distance based on the formula below var scale = Math.pow(2, (_this.maxNativeZoom - this._map.getZoom())); start_x = scale; start_y = scale; end_x = scale; end_y = scale; distance = math.sqrt((start_x - end_x) 2 + (start_x - end_y) 2) * mpp