Function geoInterpolate

  • Returns an interpolator function given two points a and b. Each point must be specified as a two-element array [longitude, latitude] in degrees.

    Parameters

    • a: [number, number]

      Point specified as a two-element array [longitude, latitude] in degrees.

    • b: [number, number]

      Point specified as a two-element array [longitude, latitude] in degrees.

    Returns ((t) => [number, number])

      • (t): [number, number]
      • Parameters

        • t: number

        Returns [number, number]