TomTom Maps for JavaScript
    Preparing search index...

    Variable locatePlacesConst

    locatePlaces: (
        query: string,
        queryAs: QueryAs,
        options: { bias?: LocateBias; limit: number },
    ) => Promise<Place[]>

    Resolves a query string to up to limit Places. POI search when queryAs === 'poi', geocoding otherwise. Optional bias narrows the search to a region.

    Type Declaration

      • (
            query: string,
            queryAs: QueryAs,
            options: { bias?: LocateBias; limit: number },
        ): Promise<Place[]>
      • Parameters

        Returns Promise<Place[]>