This is the documentation of version 0.52.0. Go to the latest version, 1.0.0.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias EventHandlerCursorConfig

    Event configuration options related to how the cursor appears during interactions.

    type EventHandlerCursorConfig = {
        cursorOnHover?: CSSCursor;
    }
    Index
    cursorOnHover?: CSSCursor

    Optional configuration to show custom cursor when hovering over interactive features.

    Accepts any valid CSS cursor value.

    'pointer'
    
    // Default pointer
    cursorOnHover: 'pointer'

    // Crosshair for precise selection
    cursorOnHover: 'crosshair'

    // Help cursor for info bubbles
    cursorOnHover: 'help'

    // Custom cursor image
    cursorOnHover: 'url(/cursors/custom.png), pointer'