@cercalia/sdk
    Preparing search index...

    Interface ProximityItem

    A single item from proximity search results.

    interface ProximityItem {
        categoryCode?: string;
        coord: Coordinate;
        distance: number;
        ge?: PoiGeographicElement;
        geometry?: string;
        id: string;
        info?: string;
        name: string;
        position?: number;
        routeDistance?: number;
        routeRealtime?: number;
        routeTime?: number;
        routeWeight?: number;
        subcategoryCode?: string;
    }
    Index

    Properties

    categoryCode?: string

    POI category code.

    coord: Coordinate

    Coordinates of the POI.

    distance: number

    Straight-line distance from search center in meters.

    Geographic element details (address components).

    geometry?: string

    Geometry type from Cercalia API (for transparency).

    id: string

    Unique identifier for the POI.

    info?: string

    Additional information about the POI.

    name: string

    Display name of the POI.

    position?: number

    Position in the result list.

    routeDistance?: number

    Routing distance in meters (if includeRouting is true).

    routeRealtime?: number

    Real-time routing time in seconds (if includeRouting is true).

    routeTime?: number

    Routing time in seconds (if includeRouting is true).

    routeWeight?: number

    Routing weight value.

    subcategoryCode?: string

    POI subcategory code.