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

    Interface MapHoverBindingOptionsExperimental

    Options for useMapHoverBinding.

    interface MapHoverBindingOptions {
        enabled?: boolean;
        layerIds: readonly string[];
        sourceId: string;
        sourceLayer?: string;
    }
    Index

    Properties

    enabled?: boolean

    Disable the binding without unmounting.

    true
    
    layerIds: readonly string[]

    Layer ids whose pointer moves publish hover.

    sourceId: string

    MapLibre source id whose features participate.

    sourceLayer?: string

    Vector source-layer (tile sources).