【解决办法】用户在使用颜色填充属性时,应该使用fill-color属性,而不是fill-pattern,修改为fill-color后可正常自定义颜色。示例代码:"fill-color": [
"match",
[
"get",
"代码"
],
110000,
"#FFFFCC",
370000,
"#1F1F12",
120000,
"#F11F12",
130000,
"#1FFF12",
140000,
"#F22212",
150000,
"#F11F12",
"rgba(255,190,190,0)"
],