Interface GeoRotation

A Geo Rotation

interface GeoRotation {
    invert(point): [number, number];
    (point): [number, number];
}
  • Returns a new array [longitude, latitude] in degrees representing the rotated point of the given point.

    Parameters

    • point: [number, number]

      The point must be specified as a two-element array [longitude, latitude] in degrees.

    Returns [number, number]

Methods

Methods

  • Returns a new array [longitude, latitude] in degrees representing the point of the given rotated point; the inverse of rotation.

    Parameters

    • point: [number, number]

      The rotated point must be specified as a two-element array [longitude, latitude] in degrees.

    Returns [number, number]