TomTom Maps for JavaScript
    Preparing search index...

    Type Alias ResolvedArea

    A resolved geographic area. bbox is always present; polygon is present when a precise boundary was available (a Geography boundary or a buffered route corridor).

    type ResolvedArea = {
        bbox: BBox;
        label?: string;
        polygon?: Polygon | MultiPolygon;
        query?: string;
        source: AreaSource;
    }
    Index

    Properties

    bbox: BBox
    label?: string

    The GROUNDED match label — freeformAddress, <countryCode> for a query area — i.e. what the data was actually loaded for, NOT the query echo. Lets a consumer surface where a query really resolved.

    polygon?: Polygon | MultiPolygon
    query?: string

    The input query text for a query area, echoed so a consumer can pair "asked" with the grounded label ("matched"). Absent for non-query sources.

    source: AreaSource