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

    Type Alias ResolveAreasOptions

    type ResolveAreasOptions = {
        bboxOnlyQueries?: boolean;
    }
    Index

    Properties

    Properties

    bboxOnlyQueries?: boolean

    Resolve queries to the top geocode candidate's own bbox only — skip the boundary-polygon fetch and the geometry-source preference. For callers that consume only bboxes (traffic incidents), this avoids an unnecessary Geometry Data call and the risk of a lower-ranked area-with-a-boundary displacing the top result. Callers that need precise polygon filters (discover-places) leave this off.