OnCustomFloatingLayerClick typedef

OnCustomFloatingLayerClick = dynamic Function(int index, SelectionEntity customFloatingLayerEntity, SetCustomFloatingLayerSelectionParams setCustomFloatingLayerSelectionParams)

类型为 CustomLayer 被点击的回调 index 被点击的位置 customFloatingLayerEntity 被点击 index 位置的筛选数据 setCustomFloatingLayerSelectionParams 外部自定义参数回传函数

Implementation

typedef OnCustomFloatingLayerClick = Function(
    int index,
    SelectionEntity customFloatingLayerEntity,
    SetCustomFloatingLayerSelectionParams
        setCustomFloatingLayerSelectionParams);