Closed yutozh closed 3 years ago
我估计是mapbox是三维的,而scatterGL只是二维的散点图,所以无法支持,只能考虑使用scatter3D,但是貌似效果也不太好,那些symbol在三维下呈现不好。
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!
One-line summary [问题简述]
用Echarts4.0的ScatterGL类型显示10000000个GPS数据点,官方示例的coordinateSystem是用的‘geo’,但如果改成mapbox,则会报错(已经引用了mapbox-gl脚本): Uncaught (in promise) TypeError: Cannot read property '0' of undefined at PointsBuilder.update (echarts-gl.js?3dd9:23605) at ExtendedClass.render (echarts-gl.js?3dd9:51321) at Task.progress [as _progress] (Chart.js?6258:228) at Task.taskProto.perform (task.js?815e:89) at eval (echarts.js?21c7:1330) at ExtendedClass.eval (Global.js?46d7:479) at Array.forEach ()
at each (util.js?fe0c:298)
at ExtendedClass.eachSeries (Global.js?46d7:476)
at renderSeries (echarts.js?21c7:1320)
请问如果想使用‘mapbox’,应该如何配置?
Version & Environment [版本及环境]
Expected behaviour [期望结果]
以mapbox为底图,实现用ScatterGL类型显示10000000个GPS点(即ScatterGL的官方示例)。
ECharts option [ECharts配置项]
Other comments [其他信息]