VisualPickEvent<T, V>

可视化图层的要素拾取事件对象(click / dblclick / rightclick / mousemove / mouseover / mouseout)。

仅在图层 enablePicked 为 true 时派发;拾取与事件派发由内部统一调度。

interface VisualPickEvent<T, V> {
    domEvent?: Event;
    pixel: Pixel;
    point: Point;
    target: T;
    type: string;
    value: V;
}

属性

原始 DOM 事件

命中像素坐标

命中经纬度

触发事件的图层

事件类型

命中的要素