Skip to content
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

网页引用echart地图时无法显示 #10999

Closed
weizihahaha opened this issue Aug 10, 2019 · 6 comments
Closed

网页引用echart地图时无法显示 #10999

weizihahaha opened this issue Aug 10, 2019 · 6 comments

Comments

@weizihahaha
Copy link

Version

4.2.1

Steps to reproduce

运行程序后报错,提示:Map china not exists. You can download map file on http://echarts.baidu.com/download-map.html
对应网站提示暂停地图下载功能。

What is expected?

请问什么大概过多久可以恢复地图的使用?

What is actually happening?

地图无法显示。

@echarts-bot
Copy link

echarts-bot bot commented Aug 10, 2019

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

Have a nice day! 🍵

@echarts-bot echarts-bot bot added bug pending We are not sure about whether this is a bug/new feature. waiting-for-help labels Aug 10, 2019
@hhshii
Copy link

hhshii commented Aug 12, 2019

echarts 其实内置了中国地图和世界地图,引入echarts/map/js/china.js即可

@weizihahaha
Copy link
Author

weizihahaha commented Aug 12, 2019 via email

@hhshii
Copy link

hhshii commented Aug 13, 2019

这个错误就是所需的地图数据没有引入的时候提示的,官网上下载的地图数据就是map文件夹中的文件,肯定是你没有正确引入,你可以先试试在 codepen 或者 codesandbox 上排除其他因素,引入 echarts 和china.js尝试一下,应该就可以的

@weizihahaha
Copy link
Author

weizihahaha commented Aug 16, 2019 via email

@pissang pissang removed bug pending We are not sure about whether this is a bug/new feature. waiting-for-author labels Aug 19, 2019
@pissang pissang removed their assignment Aug 19, 2019
@pissang
Copy link
Contributor

pissang commented Aug 19, 2019

@weizihahaha 应该是你引入的方式有问题。跟网络没关系,echarts 现在也没限制地图的使用(只是官网上不显示提供地图数据了)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants