How does one dynamically style a vector tile layer based on data that is external to the layer?
when I use expression as show below, it take effets
paintProperties["fill-color"] = [
"match",
[ "get", "admincode1"],
"#F00",
"#00F",
"#FF0",
"#0F0",
"#0FF"
];
but when I use color Array like
"#3900b3", "#714dbf", "#9e6b90", "#cf9270", "#ebb698", layer can not show real colors
arcgis will lost accuracy when converting colors?
paintProperties["fill-color"] = [
"match",
[ "get", "admincode1"],
"#3900b3",
"#714dbf",
"#9e6b90",
"#cf9270",
"#ebb698"
];