Function radius

  • Get places within a radius.

    Returns

    • A GeoJSON Feature Collection

    Parameters

    • apiKey: string

      A valid OS Data Hub key

    • point: [number, number]

      A Lng/Lat coordinate

    • radius: number

      Search radius (m)

    • options: {
          limit?: number;
          offset?: number;
      } = {}

      Optional arguments

      • Optional limit?: number

        The max number of features to return

      • Optional offset?: number

        The starting value for the offset

    Returns Promise<OSFeatureCollection>

Generated using TypeDoc