Closed uuiin closed 1 year ago
我想在AreaLayer中添加一个mousemove事件,我看了事件代理,然后我这样写
area.on('loaded', () => { area.on('areaLayer:mousemove', (e: MouseEvent) => { console.log('MouseEvent') }) }) 但是没有用,应该是怎么写的。可以告诉我吗?谢谢
原来是没有地图数据的时候不可以绑定事件,打扰了,大佬们
我想在AreaLayer中添加一个mousemove事件,我看了事件代理,然后我这样写