ggc-library
    Preparing search index...

    Een specifiek zoekresultaat (Feature) uit de PDOK Location API.

    interface PdokLocationApiSearchFeature {
        bbox: number[];
        geometry: object;
        id: string;
        properties: {
            collection_geometry_type: string;
            collection_id: string;
            collection_version: string;
            display_name: string;
            highlight: string;
            href: string;
            score: number;
        };
        type: string;
    }
    Index

    Properties

    bbox: number[]

    De begrenzende rechthoek (bounding box) van het object [minx, miny, maxx, maxy].

    geometry: object

    De geometrie van het object (indien meegeleverd in de search response).

    id: string

    Unieke identifier van het object.

    properties: {
        collection_geometry_type: string;
        collection_id: string;
        collection_version: string;
        display_name: string;
        highlight: string;
        href: string;
        score: number;
    }

    De eigenschappen van het resultaat.

    Type Declaration

    • collection_geometry_type: string

      Geometrietype binnen de collectie (bijv. 'point', 'polygon').

    • collection_id: string

      Uit welke collectie dit resultaat komt.

    • collection_version: string

      Versie van de broncollectie.

    • display_name: string

      De geformatteerde weergavenaam voor de gebruiker.

    • highlight: string

      Geformatteerde naam met HTML-tags voor highlighting van de zoekterm.

    • href: string
    • score: number

      De berekende relevantie-score.

    type: string

    GeoJSON type ('Feature').