Function nearest

  • Get the nearest name to an input coordinate.

    Returns

    • A GeoJSON Feature Collection

    Parameters

    • apiKey: string

      A valid OS Data Hub key

    • point: [number, number]

      A Lng/Lat coordinate

    Returns Promise<OSFeatureCollection>

Generated using TypeDoc