TomTom Maps for JavaScript
    Preparing search index...

    Variable toolStateToWhereContextConst

    toolStateToWhereContext: (
        state: ToolState,
        options?: ToolExecuteOptions,
    ) => WhereContext

    Adapts the live ToolState to the narrow WhereContext the resolver depends on. Keeping this mapping in one place lets resolveAreas stay testable without a ToolState.

    Type Declaration