// km 기준 private Double getDistance(Double lat, Double lnt, Double lat2, Double lnt2) { double theta = lnt - lnt2; double dist = Math.sin(deg2rad(lat))* Math.sin(deg2rad(lat2)) + Math.cos(deg2rad(lat))*Math.cos(deg2rad(lat2))*Math.cos(deg2rad(theta)); dist = Math.acos(dist); dist = rad2deg(dist); dist = dist * 60*1.1515*1609.344; return dist / 1000; ..