radiansTo(point) {
    var from = this, to = point;
    var rad1 = from.latitude * GeoPoint.DEG_TO_RAD,
        rad2 = to.latitude * GeoPoint.DEG_TO_RAD,
        dLng = (to.longitude - from.longitude) * GeoPoint.DEG_TO_RAD;

    return Math.acos(Math.sin(rad1) * Math.sin(rad2) + Math.cos(rad1) * Math.cos(rad2) * Math.cos(dLng));
  }
/**
   * Computes the arc, in radian, between two WGS-84 positions.
   *
   * The haversine formula implementation is taken from:
   * {@link http://www.movable-type.co.uk/scripts/latlong.html}
   *
   * Returns the distance from this GeoPoint to another in radians.
   * @param {GeoPoint} point another GeoPoint
   * @return {number} the arc, in radian, between two WGS-84 positions
   *
   * @see http://en.wikipedia.org/wiki/Haversine_formula
   */
Computes the arc, in radian, between two WGS-84 positions.

Returns the distance from this GeoPoint to another in radians.
@param {GeoPoint} point another GeoPoint
@return {number} the arc, in radian, between two WGS-84 positions


Computes the arc in radian between two WGS - 84 positions . Returns the distance from this GeoPoint to another in radians . @param { GeoPoint } point another GeoPoint @return { number } the arc in radian between two WGS - 84 positions
radiansTo(point) {
    var from = this, to = point;
    var rad1 = from.latitude * GeoPoint.DEG_TO_RAD,
        rad2 = to.latitude * GeoPoint.DEG_TO_RAD,
        dLng = (to.longitude - from.longitude) * GeoPoint.DEG_TO_RAD;
    return Math.acos(Math.sin(rad1) * Math.sin(rad2) + Math.cos(rad1) * Math.cos(rad2) * Math.cos(dLng));
  }
radiansTo ( point ) { var from = this , to = point ; var rad1 = from . latitude * GeoPoint . DEG_TO_RAD , rad2 = to . latitude * GeoPoint . DEG_TO_RAD , dLng = ( to . longitude - from . longitude ) * GeoPoint . DEG_TO_RAD ; return Math . acos ( Math . sin ( rad1 ) * Math . sin ( rad2 ) + Math . cos ( rad1 ) * Math . cos ( rad2 ) * Math . cos ( dLng ) ) ; }
Computes the arc, in radian, between two WGS-84 positions.
Computes the arc in radian between two WGS - 84 positions .