TomTom Maps for JavaScript
    Preparing search index...

    Type Alias EventState

    EventState: EventType | "recently-hovered"

    The user event a feature is in, or recently-hovered for a moment after the pointer leaves it, as stored in properties.eventState.

    recently-hovered lasts EventHandlerHoverConfig.hoverGracePeriodMS, then clears on its own unless the feature is hovered or clicked again first. The SDK's own layers draw it as no state. Read it to keep something shown while the pointer travels, as the entry points of places do.