Open pengxiaotian opened 1 year ago
@pengxiaotian It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
Short answer looking at your code:
If you want to just change map's itemStyle, you can do it inside the map series instead of geo.
The longer explanation:
Open this code and do the following experiments:
Conclusion from experiments:
Visualmap-colored series type map should not be linked to geo through geoIndex. Both act as separate maps on their own.
Version
5.4
Link to Minimal Reproduction
https://echarts.apache.org/examples/zh/editor.html?c=map-HK
Steps to Reproduce
Current Behavior
整个地图都是一个颜色
Expected Behavior
visualMap 可以生效
Environment
Any additional comments?
No response