code: public static double distanceKms(BigDecimal lat1, BigDecimal lng1, BigDecimal lat2, BigDecimal lng2 ){
  		return new GeoCoordinate(lat1, lng1).distanceTo(new GeoCoordinate(lat2, lng2));
  	}
docs: Equitorial Radius of Earth.