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

    Variable locatePlaceConst

    locatePlace: (
        query: string,
        queryAs: QueryAs,
        bias?: GeoBias,
        execOptions?: ToolExecuteOptions,
    ) => Promise<Place | null>

    Convenience wrapper around locatePlaces for the single-result case.

    Type Declaration