This is the documentation of version 0.51.3. Go to the latest version, 1.0.0.
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

    POI details ID for the Points of Interest Details service.

    Pass this value to fetch additional information such as:

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

    Name of the data provider for this POI.

    Identifies the source of the POI information (e.g., 'TomTom', 'OSM'). Optional identifier for attribution or quality assessment.