layer = ({
id: "labels",
type: "symbol",
source: "composite",
"source-layer": "place_label",
filter: [
"all",
[
"match",
["get", "class"],
"country",
["match", ["get", "worldview"], ["all", "US"], true, false],
"disputed_country",
[
"all",
["==", ["get", "disputed"], "true"],
["match", ["get", "worldview"], ["all", "US"], true, false]
],
false
],
["match", ["get", "iso_3166_1"], coverageFilter, true, false]
],
layout: {
"text-field": ["get", "iso_3166_1"],
"text-font": ["PT Sans Caption Bold", "Arial Unicode MS Regular"]
},
paint: { "text-color": "red" }
})