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

(本文档仅供参考)

问题

航线图的原始图形中,能否实现不同省份的背景色不同?

解决方案

可以通过扩展属性实现不同省份的背景色不同。 

 {
           "geo": {
               "regions": [{
                   "name": "广东",
                   "itemStyle": {
                       "normal": {
                           "areaColor": "red",
                           "color": "red"
                       }
                   }
               }]
           }
       }

 效果如图:

 

Viewtracker License Missing

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

授权码细节

  • 无标签