@squawk
    Preparing search index...
    • Computes the destination point reached by traveling a given distance along a great-circle bearing from a starting position.

      The bearing is normalized via trigonometry, so values outside [0, 360) (e.g. -90 or 450) behave as their wrapped equivalents. A negative travelDistanceNm is treated as travel in the opposite direction, producing the same result as the positive distance at bearingDeg + 180. Output longitude is normalized to the range [-180, 180]; points on the antimeridian may be represented with either sign.

      Parameters

      • lat: number

        Latitude of the start point in decimal degrees.

      • lon: number

        Longitude of the start point in decimal degrees.

      • bearingDeg: number

        Initial bearing in degrees true. Values outside [0, 360) are normalized.

      • travelDistanceNm: number

        Distance to travel along the bearing in nautical miles. Negative values reverse direction.

      Returns Coordinates

      Destination coordinates in decimal degrees.