distanceTo method

double distanceTo(
  1. GeoCoordinates point
)

Computes distance (in meters) along the great circle between two coordinates.

This method ignores altitude of both points.

  • point Coordinates of the point to which the distance is computed.

Returns double. distance in meters.

Implementation

double distanceTo(GeoCoordinates point) => $prototype.distanceTo(this, point);