@honua/sdk-js
    Preparing search index...

    Interface AutomaticMapLibreIntegrationOptions

    interface AutomaticMapLibreIntegrationOptions {
        hover?: boolean;
        hoverStateKey?: string;
        multiSelect?: boolean;
        onSelectionChange?: (selectedIds: ReadonlySet<FeatureId>) => void;
        selection?: boolean;
        selectionStateKey?: string;
        sourceLayer?: string;
    }
    Index

    Properties

    hover?: boolean

    Enable pointer hover wiring.

    true
    
    hoverStateKey?: string

    Feature-state key toggled on hover.

    "hover"
    
    multiSelect?: boolean

    Allow multiple simultaneously selected features.

    false
    
    onSelectionChange?: (selectedIds: ReadonlySet<FeatureId>) => void

    Observe selection changes.

    selection?: boolean

    Enable single-click selection wiring.

    true
    
    selectionStateKey?: string

    Feature-state key toggled on click.

    "selected"
    
    sourceLayer?: string

    Vector-tile source layer for feature-state targets.