This is the documentation of version 1.0.0-rc.2. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias PoiDetailsDataSource

    Data source reference for detailed POI information.

    const dataSource: PoiDetailsDataSource = {
    id: 'poi-xyz789',
    sourceName: 'TomTom'
    };
    type PoiDetailsDataSource = {
        id: string;
        sourceName?: string;
    }
    Index
    id: string

    The POI details ID for the Points of Interest Details service.

    Pass it to fetch additional information such as:

    • Extended opening hours
    • Photos and ratings
    • Detailed amenities
    • Contact information
    sourceName?: string

    The name of the data provider for this POI, such as 'TomTom' or 'OSM'.

    Use it for attribution or quality assessment.