surui0419 opened a new issue #8305: echarts 
GL中,怎么改变type:'lines3D'的三维飞线距离三维地理坐标系表面的距离
URL: https://github.com/apache/incubator-echarts/issues/8305
 
 
   
   ### One-line summary [问题简述]
   使用echarts 
GL绘制了一个3D的地球,通过type:‘lines3D'绘制了一条跨越大半个地球的飞线,因为两个点的跨越幅度很大,导致这条3D飞线绘制出来离地球表面很远的距离,怎么通过设置让这条飞线离地球表面距离近一点
   
   ### Version & Environment [版本及环境]
   + ECharts version [ECharts 版本]:
   claygl, version 1.2.1
   echarts, version 4.1.0
   + Browser version [浏览器类型和版本]:
   Chrome
   + OS Version [操作系统类型和版本]:
   win10
   ### Expected behaviour [期望结果]
   
   期望能够调整3d飞线距离地球表面的距离
   
   ### ECharts option [ECharts配置项]
   <!-- Copy and paste your 'echarts option' here. -->
   <!-- [下方贴你的option,注意不要删掉下方 ```javascript 和 尾部的 ``` 字样。最好是我们能够直接运行的 
option。如何得到能运行的 option 参见上方的 guidelines for contributing] -->
   ```javascript
   option = {
    globe: {
             left: 0,
             right: '8%',
             top: '4.5%',
             bottom: 0,
             baseTexture: world, // 地球的纹理,支持图片或canvas对象或echarts实例作为纹理
             shading: "color", // 不受光照影响
             viewControl: {// 用于鼠标的旋转缩放控制
               zoomSensitivity: 0, // 缩放灵敏度 0关闭缩放
               rotateSensitivity: [2,0], //控制横、纵旋转灵敏度
               autoRotate: true, // 控制地球是否自转
               autoRotateDirection: "ccw", //控制自转方向
               autoRotateAfterStill: 4,
               autoRotateSpeed:10
             }
           },
           series: {
             type: 'lines3D',
             coordinateSystem: 'globe',
             blendMode: 'lighter',
             effect: { // 飞线 特效
               show: true,
               peroid: 2,
               trailColor: 'greenyellow'
             },
             lineStyle: { // 飞线颜色
               width: 2,
               color: '#02fd00',
               opacity: 0.8
             },
             data: [[[121.5,28.5],[-56.5,4.2]]]
           }
   }
   
   ```
   
   ### Other comments [其他信息]
   
   
![default](https://user-images.githubusercontent.com/38311239/39744728-d556aa92-52d7-11e8-8dfa-4ff0ee033905.png)
   
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to