GeoJSONLayerEventMap

GeoJSONLayer 支持的事件名与事件对象类型映射

interface GeoJSONLayerEventMap {
    click: GeoJSONLayerClickEvent;
    mousemove: GeoJSONLayerMouseMoveEvent;
    mouseout: GeoJSONLayerMouseOutEvent;
}

属性

点击图层要素时触发

鼠标在图层要素上移动时触发

鼠标移出图层要素时触发