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 2019/12/26 12:59:50 UTC

[GitHub] [incubator-echarts] QiekenaoOn opened a new issue #11913: echarts3D地球的lines3D数组中设置的海拔高度没有用

QiekenaoOn opened a new issue #11913: echarts3D地球的lines3D数组中设置的海拔高度没有用
URL: https://github.com/apache/incubator-echarts/issues/11913
 
 
   ### Version
   4.5.0
   
   ### Steps to reproduce
           var dom = document.getElementById("container");
           var myChart = echarts.init(dom);
           var app = {};
           option = null;
   
           myChart.setOption({
               backgroundColor: '#000',
               globe: {
                   baseTexture: '../static/img/echarts_world.jpg',
                   heightTexture: '../static/img/echarts_composite_4k.jpg',
   
                   shading: 'lambert',
   
                   light: {
                       ambient: {
                           intensity: 0.4
                       },
                       main: {
                           intensity: 0.4
                       }
                   },
   
                   viewControl: {
                       autoRotate: false
                   }
               },
               series: {
   
                   type: 'lines3D',
   
                   coordinateSystem: 'globe',
   
                   blendMode: 'lighter',
   
                   lineStyle: {
                       width: 1,
                       color: '#fff',
                       opacity: 1
                   },
   
                   data: [
                       [
                           [145.391881, -6.081689,50],
                           [145.7887, -100.207083,50]
                       ],
                       [
                           [145.7887, -100.207083,50],
                           [-50.1995, 32.7552,50]
                       ],
                       [
                           [145.391881, -6.081689,50],
                           [-50.1995, 32.7552,50]
                       ]
                   ]
               }
           });
   
           if (option && typeof option === "object") {
               myChart.setOption(option, true);
           }
   
   ### What is expected?
   画的线应该距离地球有距离
   
   ### What is actually happening?
   与海拔高度设为0没有任何区别
   
   <!-- 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


With regards,
Apache Git Services

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


[GitHub] [echarts] Eminlin edited a comment on issue #11913: echarts3D地球的lines3D数组中设置的海拔高度没有用

Posted by GitBox <gi...@apache.org>.
Eminlin edited a comment on issue #11913:
URL: https://github.com/apache/echarts/issues/11913#issuecomment-939474761


   遇到相同问题啦 不知道解决了没有 v5.2.1  
   
   对应海拔高度的说明:https://echarts.apache.org/zh/option-gl.html#series-lines3D.data


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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] [echarts] Eminlin edited a comment on issue #11913: echarts3D地球的lines3D数组中设置的海拔高度没有用

Posted by GitBox <gi...@apache.org>.
Eminlin edited a comment on issue #11913:
URL: https://github.com/apache/echarts/issues/11913#issuecomment-939474761


   遇到相同问题啦 不知道解决了没有 v5.2.1  
   
   对应海拔高度的说明:https://echarts.apache.org/zh/option-gl.html#series-lines3D.data  
   
   ![image](https://user-images.githubusercontent.com/20252561/136696010-02c025d0-af17-4345-8ff5-714d9e045f2d.png)  
   
   如上图所示,调整数组的第三个参数,白线的高度没有发生变化


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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] [echarts] Eminlin edited a comment on issue #11913: echarts3D地球的lines3D数组中设置的海拔高度没有用

Posted by GitBox <gi...@apache.org>.
Eminlin edited a comment on issue #11913:
URL: https://github.com/apache/echarts/issues/11913#issuecomment-939474761


   遇到相同问题啦 不知道解决了没有 v5.2.1  ``
   
   对应海拔高度的说明:https://echarts.apache.org/zh/option-gl.html#series-lines3D.data  
   
   对应的说明:
   ```
   三维飞线图的数据数组,通常数据的每一项可以是一个包含起点和终点的坐标集。在 polyline 设置为 true 时支持多于两个的坐标。 如下:
   
   data: [
       [
           [120, 66, 1], // 起点的经纬度和海拔坐标
           [122, 67, 2]  // 终点的经纬度和海拔坐标
       ]
   ]
   ```
   如下图所示,调整数组的第三个参数,白线的高度没有发生变化  
   
   ![image](https://user-images.githubusercontent.com/20252561/136696010-02c025d0-af17-4345-8ff5-714d9e045f2d.png)  
   
   


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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] [echarts] Eminlin edited a comment on issue #11913: echarts3D地球的lines3D数组中设置的海拔高度没有用

Posted by GitBox <gi...@apache.org>.
Eminlin edited a comment on issue #11913:
URL: https://github.com/apache/echarts/issues/11913#issuecomment-939474761


   遇到相同问题啦 不知道解决了没有 v5.2.1  
   
   对应海拔高度的说明:https://echarts.apache.org/zh/option-gl.html#series-lines3D.data  
   
   对应的说明:
   ```
   三维飞线图的数据数组,通常数据的每一项可以是一个包含起点和终点的坐标集。在 polyline 设置为 true 时支持多于两个的坐标。 如下:
   
   data: [
       [
           [120, 66, 1], // 起点的经纬度和海拔坐标
           [122, 67, 2]  // 终点的经纬度和海拔坐标
       ]
   ]
   ```
   
   ![image](https://user-images.githubusercontent.com/20252561/136696010-02c025d0-af17-4345-8ff5-714d9e045f2d.png)  
   
   如上图所示,调整数组的第三个参数,白线的高度没有发生变化


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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] [echarts] Eminlin commented on issue #11913: echarts3D地球的lines3D数组中设置的海拔高度没有用

Posted by GitBox <gi...@apache.org>.
Eminlin commented on issue #11913:
URL: https://github.com/apache/echarts/issues/11913#issuecomment-939474761


   遇到相同问题啦 不知道解决了没有 v5.2.1


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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 #11913: echarts3D地球的lines3D数组中设置的海拔高度没有用

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #11913: echarts3D地球的lines3D数组中设置的海拔高度没有用
URL: https://github.com/apache/incubator-echarts/issues/11913#issuecomment-569054583
 
 
   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


With regards,
Apache Git Services

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


[GitHub] [echarts] Eminlin edited a comment on issue #11913: echarts3D地球的lines3D数组中设置的海拔高度没有用

Posted by GitBox <gi...@apache.org>.
Eminlin edited a comment on issue #11913:
URL: https://github.com/apache/echarts/issues/11913#issuecomment-939474761


   遇到相同问题啦 不知道解决了没有 v5.2.1  ``
   
   对应海拔高度的说明:https://echarts.apache.org/zh/option-gl.html#series-lines3D.data  
   
   对应的说明:
   ```
   三维飞线图的数据数组,通常数据的每一项可以是一个包含起点和终点的坐标集。在 polyline 设置为 true 时支持多于两个的坐标。 如下:
   
   data: [
       [
           [120, 66, 1], // 起点的经纬度和海拔坐标
           [122, 67, 2]  // 终点的经纬度和海拔坐标
       ]
   ]
   ```
   如下图所示,调整数组的第三个参数,白线的高度没有发生变化  
   
   对应的 `polyline: true`
   
   ![image](https://user-images.githubusercontent.com/20252561/136696010-02c025d0-af17-4345-8ff5-714d9e045f2d.png)  
   
   
   
   参考示例:https://cdn.jsdelivr.net/gh/apache/echarts-website@asf-site/examples/data-gl/asset/data/flights.json  
   对高度的设置是  
   ![image](https://user-images.githubusercontent.com/20252561/136696593-163b7742-a680-465d-9cf1-5853b273c442.png)
   


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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] [echarts] Eminlin edited a comment on issue #11913: echarts3D地球的lines3D数组中设置的海拔高度没有用

Posted by GitBox <gi...@apache.org>.
Eminlin edited a comment on issue #11913:
URL: https://github.com/apache/echarts/issues/11913#issuecomment-939474761


   遇到相同问题啦 不知道解决了没有 v5.2.1  ``
   
   对应海拔高度的说明:https://echarts.apache.org/zh/option-gl.html#series-lines3D.data  
   
   对应的说明:
   ```
   三维飞线图的数据数组,通常数据的每一项可以是一个包含起点和终点的坐标集。在 polyline 设置为 true 时支持多于两个的坐标。 如下:
   
   data: [
       [
           [120, 66, 1], // 起点的经纬度和海拔坐标
           [122, 67, 2]  // 终点的经纬度和海拔坐标
       ]
   ]
   ```
   如下图所示,调整数组的第三个参数,白线的高度没有发生变化  
   
   对应的 `polyline: true`
   
   ![image](https://user-images.githubusercontent.com/20252561/136696010-02c025d0-af17-4345-8ff5-714d9e045f2d.png)  
   
   


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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