You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/05/27 09:25:06 UTC

[GitHub] [echarts] Sjling commented on issue #7860: 3d 地图,chart.on( 'click', function... ) ,点击地图无反应

Sjling commented on issue #7860:
URL: https://github.com/apache/echarts/issues/7860#issuecomment-849482089


   > 修改为:
   > myChart.getZr().on('click',function(e){
   > funcOnClick(e);
   > });
   > 地图上的点击事件分为数据区域和非数据区域的触发,加了getZr()后,不管是在非数据区域还是数据区域都能触发。
   
   可以点击了,但是拿不到点击的数据,这个怎么解决?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org