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

    Type Alias PlaceDetailsMandatoryParams

    Mandatory parameters for the place details service.

    type PlaceDetailsMandatoryParams = {
        entityId: string;
    }
    Index
    entityId: string

    The unique POI identifier.

    You can get this ID from:

    • Previous search results (place.id, on the feature rather than in its properties)
    • Related POIs (place.properties.relatedPois[].id)
    entityId: '528009002822995'