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

[Bug] echarts地图设置纹理areaColor的image,4.x版本可以展示,5.x版本无法展示 #20761

Open
koufeichou opened this issue Feb 17, 2025 · 1 comment
Labels

Comments

@koufeichou
Copy link

Version

5.4.0

Link to Minimal Reproduction

https://www.makeapie.cn/echarts_content/xu73dySMHt.html

Steps to Reproduce

上述链接点击进去,4.x可以正常展示地图纹理,5.x不行

Current Behavior

5.x地图纹理不能展示

Expected Behavior

可以正常展示

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

@koufeichou koufeichou added the bug label Feb 17, 2025
@koufeichou koufeichou changed the title [Bug] echarts地图设置纹理areaColor的image,4.x版本可以展示,2.x版本无法展示 [Bug] echarts地图设置纹理areaColor的image,4.x版本可以展示,5.x版本无法展示 Feb 17, 2025
@helgasoft
Copy link

This works in v.5.6.0

img1 = 'data:image/png;base64,iVBORw0...';
geo.itemStyle.areaColor: {image: img1, repeat: 'repeat'}

📌 please close issue if problem solved.

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

No branches or pull requests

2 participants