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:35:05 UTC

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

Noemi- removed a comment on issue #9412: 坐标系使用百度地图bmap,series类型选择scatterGL时,echarts不响应任何鼠标事件,例如tooltip
URL: https://github.com/apache/incubator-echarts/issues/9412#issuecomment-438994423
 
 
   > * [ ]  I am using English in this issue.
   > 
   > ## General Questions
   > * [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
   > 
   > ## Issue Type
   > * [ ]  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
   > 使用scatterGL在百度地图上展示5w左右的散点,tooltip失效
   > 
   > ### Expected Behavior
   > 在百度地图上,使用scatterGL做散点图,仍然可以响应tooltip
   > 
   > ### Current Behavior
   > 在百度地图上,使用scatter类型可以正常出现tooltip,如下图:
   > <img alt="2018-11-15 6 18 54" width="806" src="https://user-images.githubusercontent.com/6283708/48546459-61d01280-e903-11e8-8a98-bc016c4dbe7c.png">
   > 切换到scatterGL类型后无法出现tooltip,并且鼠标移上去是default的形状:
   > <img alt="2018-11-15 6 18 38" width="803" src="https://user-images.githubusercontent.com/6283708/48546489-77453c80-e903-11e8-8b74-2049e896c513.png">
   > 
   > ### Online Example
   > {ADD_LINK_OF_DEMO_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
   > * [ ]  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
   > 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
   代码贴错了,更新一下
   
   `let options = {
                   tooltip:{
                       formatter: 'asd'
                   },
                   bmap: {},
                   series: [{
                       name: '弱',
                       type: 'scatterGL',
                       coordinateSystem: 'bmap',
                       itemStyle: {
                           color: 'red'
                       },
                       symbolSize: 50,
                       silent: false,
                       data: [[116.405419,39.929765]]
                   }]
               };
               var echartsInsts = echarts.init(this.$refs.mapContainer);
               echartsInsts.setOption(options);`

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