Function bbox

  • Get places within a bounding box (bbox).

    Returns

    • A GeoJSON Feature Collection

    Parameters

    • apiKey: string

      A valid OS Data Hub key

    • bbox: [number, number, number, number]

      Lng/Lat bounding box [left, bottom, right, top]

    • 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