TomTom Maps for JavaScript
    Preparing search index...

    Variable toolStateToWhereContextConst

    toolStateToWhereContext: (state: ToolState) => WhereContext

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

    Type Declaration