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 2020/09/27 09:42:15 UTC

[GitHub] [incubator-echarts] succulen-plants opened a new issue #13354: mapbox 结合时 label 不能使用

succulen-plants opened a new issue #13354:
URL: https://github.com/apache/incubator-echarts/issues/13354


   ### Version
   4.9.0
   
   ### Steps to reproduce
   
   **VM8041** echarts-gl.min.js:1 Uncaught TypeError: Cannot read property '0' of undefined 
   
   ```
      series: [{
              type: 'map3D',
              coordinateSystem: 'mapbox3D',
              map: 'china',
              regionHeight: 0.5,
              shading: 'lambert',
              label:{show: true}
          }]
   ```
   
   ### What is expected?
   加载的3D建筑上面有标签显示
   
   ### What is actually happening?
   报错
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   


----------------------------------------------------------------
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


[GitHub] [incubator-echarts] succulen-plants commented on issue #13354: mapbox 结合时 label 不能使用

Posted by GitBox <gi...@apache.org>.
succulen-plants commented on issue #13354:
URL: https://github.com/apache/incubator-echarts/issues/13354#issuecomment-700572766


   并且 和mapbox 结合后, 获取不到echarts 的 click事件 
   ```
   myChart.on('click', ()=>{
           alert('124')
       })
   ```


----------------------------------------------------------------
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


[GitHub] [incubator-echarts] succulen-plants commented on issue #13354: mapbox 结合时 label 不能使用

Posted by GitBox <gi...@apache.org>.
succulen-plants commented on issue #13354:
URL: https://github.com/apache/incubator-echarts/issues/13354#issuecomment-700536350


   没有使用, 您可以使用官网提供的例子试一下 比如: https://gallery.echartsjs.com/editor.html?c=xrJygEHHYb
   还有问题是,  下面这种写法完全监听不到鼠标和键盘事件, 之前旧版本 mapbox可以, 换成mapbox3D的版本就监听不到 
   ```
   const map = chart.getModel().getComponent('mapbox3D').getMapbox();
   map.on('load',()=>{
     map.getCanvas().addEnventListener('click', e=>{
   })
   })
   


----------------------------------------------------------------
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


[GitHub] [incubator-echarts] succulen-plants commented on issue #13354: mapbox 结合时 label 不能使用

Posted by GitBox <gi...@apache.org>.
succulen-plants commented on issue #13354:
URL: https://github.com/apache/incubator-echarts/issues/13354#issuecomment-699622630


   而且, click 事件也获取不到, 
     chart.on('click', function (params) {
               });
   只是使用mapbox 提供了地图, 不理解为什么点击页面没有echarts 的点击事件
   


----------------------------------------------------------------
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


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #13354: mapbox 结合时 label 不能使用

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #13354:
URL: https://github.com/apache/incubator-echarts/issues/13354#issuecomment-699611985


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


----------------------------------------------------------------
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


[GitHub] [incubator-echarts] plainheart commented on issue #13354: mapbox 结合时 label 不能使用

Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #13354:
URL: https://github.com/apache/incubator-echarts/issues/13354#issuecomment-699748273


   是否用了第三方扩展插件?


----------------------------------------------------------------
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