sakitam-fdd / ol3Echarts

:earth_asia: :bar_chart: ol3Echarts | a openlayers extension to echarts
https://sakitam-fdd.github.io/ol3Echarts
Other
324 stars 81 forks source link

关于简单柱形图加入地图时,series字段中存在coordinates则报错 Cannot read properties of null (reading 'getCode')问题, #124

Open zzzzz000 opened 1 month ago

zzzzz000 commented 1 month ago

求解惑!!!!!!!!!!!! 问题详述: 当柱形图配置对象中series不加coordinates值,柱形图能正常显示,但相对屏幕固定;当加入coordinates值则报错,报错详情如下图 报错如下: image

插件版本: { "ol": "^7.5.2", "ol-echarts": "^4.0.1", "echarts": "^5.5.1", "vue": "^3.2.41", }

zzzzz000 commented 1 month ago

@kyleinfo @sakitam-fdd @fossabot @Hansz00

zzzzz000 commented 1 month ago

经过调试,发现是坐标系问题,请问是不支持4490坐标系吗?亦或者是我4490坐标系的projection参数传入不当,如果支持,4490坐标系又该如何配置呢? dac60319afaf3d9691032910b9fe51f image

sakitam-fdd commented 1 month ago

@zzzzz000 我这里测试看起来是正常的 https://blog.sakitam.com/ol3Echarts/docs/playgrounds/line-with-4490