Skip to main content

greatCircleMidpoint

The point halfway along the great circle between two positions.

This is a function exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import { greatCircleMidpoint } from "@mapcairn/core";

function greatCircleMidpoint(from: LatLng, to: LatLng): LatLng;

Parameters​

  • from (LatLng)
  • to (LatLng)

Returns​

LatLng

See also​

Source: packages/core/src/globe/greatCircle.ts:151