想要实现:

有时为了美观,想实现地图标签字体颜色修改。

实现方法:

在echarts扩展属性中添加此段代码即可。

{
    "geo": {
        "label": {
            "normal": {
                "show": true,
                "textStyle": {
                    "color": "blue"
                }
            }
        }
    }
}