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/11/15 10:31:30 UTC

[GitHub] Noemi- opened a new issue #9412: 坐标系使用百度地图bmap,series类型选择scatterGL时,echarts不响应任何鼠标事件,例如tooltip

Noemi- opened a new issue #9412: 坐标系使用百度地图bmap,series类型选择scatterGL时,echarts不响应任何鼠标事件,例如tooltip
URL: https://github.com/apache/incubator-echarts/issues/9412
 
 
   <!--
   Thanks for choosing ECharts!
   感谢使用 ECharts!
   
   It's highly recommended to use English in issues, to help others having the same problem in the future.
   加入 Apache 开源基金会后,我们有了更多国外的用户。为了方便社区用户,强烈建议在 issue 中使用英文。
   
   Please check the following questions to let our bot help.
   -->
   
   <!-- To check the option, add x in [], e.g.: [x] I am using English in this issue. -->
   
   - [ ] I am using English in this issue.
   
   
   ## General Questions
   
   <!-- BEGINNING OF REQUIRED FIELDS -->
   
   <!--
   PLEASE MAKE SURE OF ALL THE FOLLOWING OPTIONS IN REQUIRED FIELDS ARE TICKED (with x)!
   Otherwise the issue will be closed.
   And think before you tick. :)
   -->
   - [x] I have read the document and examples and tried to solve it by myself.
   - [x] I have searched for similar issues and that didn't help.
   - [x] I have tried with the latest version of ECharts and still have this problem.
   
   In this issue, I have provided information with:
   - [x] issue type
   - [x] one sentence description in issue details
   - [ ] demo if this is bug report
   
   <!-- END OF REQUIRED FIELDS -->
   
   
   
   
   
   ## Issue Type
   
   <!-- Add `x` for the ones that is true with you, e.g.: [x] I have ... -->
   
   - [ ] I have a question to ask about *how to use ECharts to ...*
   - [x] I have a bug to report
   - [ ] I have a feature to request, e.g.: *I'd like a new feature that ...*
   - [x] I have a feature to enhance, e.g.: *The current feature should be improved in the way that ...*
   - [ ] There's something wrong with the documents
   - [ ] Others, or I'm not sure which issue types to choose here
   
   
   ## Issue Details
   
   <!-- Use one sentence to describe what you want and what's wrong. -->
   
   使用scatterGL在百度地图上展示5w左右的散点,tooltip失效
   
   
   ### Expected Behavior
   
   <!-- Add screenshots to demo if necessary. -->
   
   在百度地图上,使用scatterGL做散点图,仍然可以响应tooltip
   
   
   ### Current Behavior
   
   <!-- Add screenshots to demo if necessary. Otherwise, replace the following line with N/A. -->
   
   在百度地图上,使用scatter类型可以正常出现tooltip,如下图:
   <img width="806" alt="2018-11-15 6 18 54" src="https://user-images.githubusercontent.com/6283708/48546459-61d01280-e903-11e8-8a98-bc016c4dbe7c.png">
   切换到scatterGL类型后无法出现tooltip,并且鼠标移上去是default的形状:
   <img width="803" alt="2018-11-15 6 18 38" src="https://user-images.githubusercontent.com/6283708/48546489-77453c80-e903-11e8-8b74-2049e896c513.png">
   
   ### Online Example
   
   <!-- Please use jsfiddle.net or gallery.echartsjs.com to provide a simplest demo to show the problem. And do not upload zip demos. -->
   <!-- THIS IS REQUIRED FOR ALL BUG REPORTS AND QUESTIONS!!! -->
   
   {ADD_LINK_OF_DEMO_HERE}
   
   <!-- Please make your demo as simple as possible to help locate the problem. And paste only necessary part of code here. -->
   
   let options = {
                   tooltip:{
                       formatter: 'asd'
                   },
                   bmap: {},
                   series: [{
                       name: '弱',
                       type: 'scatter',
                       coordinateSystem: 'bmap',
                       itemStyle: {
                           color: 'red'
                       },
                       symbolSize: 50,
                       silent: false,
                       data: [[116.405419,39.929765]]
                   }]
               };
               var echartsInsts = echarts.init(this.$refs.mapContainer);
               echartsInsts.setOption(options);
   
   ## Topics
   
   <!-- Check those topics that are related. -->
   - [ ] Legend
   - [x] Tooltip
   - [ ] Event
   - [ ] Performance
   - [ ] SVG
   - [x] Map
   - [x] ECharts GL
   - [ ] Third-party libraries, e.g.: Vue.js, React
   
   
   ## Anything Else We Need to Know
   
   <!-- You may reference other issues here. Otherwise, replace the following line with N/A. -->
   
   N/A
   
   
   ## Environment
   
   - ECharts version: 4.2.0-rc.2
   - echarts-gl version: 1.1.1
   
   - [ ] It happens only on certain browsers or operating systems. 
   Chrome 70.0.3538.102
   

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