I'm trying to make geojson layer of polygons with diffrent fills. Some of them need to use "fill-patern" so they have "fill-patern" property, but some of them don't. I'm getting both of the "fill-patern" and "fill-color" proreties by expressions:
paint: {
"fill-pattern": ["get", "fill-pattern"],
"fill-color": ["get", "fill-color"],
},
But "fill-patern" property with any value (even null, or undefined) makes layer ignore "fill-color" property of this feature. So is that possible to fully ignore property if feature doesn't have it?