pissang edited a comment 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
