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/03/08 12:14:46 UTC

[GitHub] [incubator-echarts] pissang commented on issue #12240: 官方webgl地球案例中为什么Z坐标要只取正的而且要取平方根?

pissang commented on issue #12240: 官方webgl地球案例中为什么Z坐标要只取正的而且要取平方根?
URL: https://github.com/apache/incubator-echarts/issues/12240#issuecomment-596198987
 
 
   @hugetiny 这里的 x,y 对应了经纬度,z 值是任意的数据(比如人口数量等等),echarts 会把 z 值线性映射到半径值(映射范围参考 https://www.echartsjs.com/zh/option-gl.html#globe.globeOuterRadius),用来表示数的大小。例子里去平方根只是对这个数据做了下特殊处理,不会让数据的对比太过夸张(类似 log 轴)。可以不需要考虑这个

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