TomTom Maps for JavaScript
    Preparing search index...

    Type Alias EventStateIds

    EventStateIds: Partial<Record<EventState, (string | number)[]>>

    The ids of the shown features grouped by event state, as set by setEventState or user interactions and not yet cleared by clearEventState(s).

    A state no feature has is absent rather than an empty array. The ids are those ByIdOrIndex takes, so each can go straight back into setEventState or clearEventState.

    const { click: [selectedID] = [] } = placesModule.getEventStates();