页面树结构
转至元数据结尾
转至元数据起始

正在查看旧版本。 查看 当前版本.

与当前比较 查看页面历史

« 前一个 版本 8 下一个 »

(本文档仅供参考)

问题

如何设置地图背景的透明度

解决方案

可以通过在图形设置中添加扩展属性设置

    {
    "geo": {
        "itemStyle": {
            "normal": {
                "borderWidth": 2,  //设置边线粗细度
                "opacity": 0.6,        //设置透明度,范围0~1,越小越透明
                "areaColor": "#63B8FF"    //地图区域颜色
            },
            "emphasis": {
                "areaColor": "#7FFF00"    //高亮时地图区域颜色
            }
        }
    }
}

实现效果:如下  地图的背景透明,直接显示电子表格中的背景图了。

Viewtracker License Missing

There is a problem with the license of the Viewtracker addon. Please check if you have a valid license.

授权码细节

  • 无标签