javaScript events zoomend地图缩放事件不触发

0 投票
SuperMap_iClient_8C(2017)_SP1_for_JavaScript  

 layer.events.on({"zoomend":ceshi});     缩放监听  ,地图滑动鼠标报错: VM8:1 [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See
9月 30, 2020 分类:  143次浏览 | 用户: hcl (1 分)

1个回答

0 投票
您好,可以直接对map进行绑定map.events.on({"zoomend": aa});
9月 30, 2020 用户: 林立勇 名扬四海 (1,022 分)
感谢,问题解决了
...