You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2018/05/02 06:32:37 UTC

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

surui0419 commented on issue #7860: 3d 地图,chart.on( 'click', function... ) ,点击地图无反应
URL: https://github.com/apache/incubator-echarts/issues/7860#issuecomment-385877897
 
 
   修改为:
   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 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


With regards,
Apache Git Services

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