Function postcode

  • Find places that match a full or partial postcode.

    Returns

    • A GeoJSON Feature Collection

    Parameters

    • apiKey: string

      A valid OS Data Hub key

    • postcode: string

      Full or partial postcode

    • 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
Nov 8, 2022