New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
设置nameMap后导致的一系列问题 #5745
Comments
我使用了nameMap后,中文的国家名称显示位置发生偏移是怎么回事?比如俄罗斯和美国已经偏移出国家主体领土了 |
@liukefu2050 参考第一点,把geoFixFuncs移到loadGeoJson的 |
问题解决了吗,发现4.04版本的还存在此问题呢 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
2022路过,还是有这个问题。。 |
@weiyuanraoan 在什么环境下,给一个在线复现例子看看 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One-line summary [问题简述]
设置nameMap后导致了2个问题
geoFixFuncs
不起作用(由于区域名称已经改变)name
为undefined
,dataIndex
始终为-1Version & Environment [版本及环境]
Expected behaviour [期望结果]
loadGeoJson
函数的最前面,即在nameMap生效前fixnameList
,但是loadGeoJson
中设置了nameMap后nameList
并没有相对应的更新数据,导致之后所有新设置的名称都无法正确获取ECharts option [ECharts配置项]
需要先注册地图数据world
Other comments [其他信息]
The text was updated successfully, but these errors were encountered: