pyecharts / pyecharts-gallery

Just use pyecharts to imitate Echarts official example.
https://gallery.pyecharts.org
MIT License
1.19k stars 585 forks source link

Why it's not work when change the Geo-maptype from 'china' to 'world'? #58

Closed muzier closed 1 year ago

muzier commented 3 years ago

It‘s very stange that everything is OK when use the gallery of Geo-Line in 'china' mapttyep, but not work change the maptype to 'world'? I try the different country label like 'Unite States', 'US', '美国' and it's dosen't work. Who can tell me how to make a world geo line map? Thanks a lot~

muzier commented 3 years ago

I found the reason cause this problem: the config file named 'city_coordinates.json' dosen't have the country's coordinates of world map: image when I add this four countries in the config file , the world geo map will work! So the next question is : where can I get a world country coordinates that fit the pyecharts ? I tried the world.js of echarts but is dosen't work , the Polygon coordinates dosen't fit the pyecharts. Who can help?