小程序地图polyline绘制彩虹线时,colorList属性确定是有效的吗?
colorList 设置无效,希望给出一个demo使用案例
1 回复
polylines: [{
points: [{
longitude: 121.44577861,
latitude: 37.48205260
},
{
longitude: 121.4479565600,
latitude: 37.4831295800
}, {
longitude: 121.4480263000,
latitude: 37.4831636400
}, {
longitude: 121.44820869,
latitude: 37.48330837
}
],
color: "#33c9FFDD",
colorList: ['#006400', '#FFFF00', '#000000', '#000000'],
width: 5,
arrowLine: true,
dottedLine: false
}],