[core] Enable text-variable-anchor property
This commit is contained in:
@@ -72,7 +72,7 @@ global.evaluatedType = function (property) {
|
||||
if (property.length) {
|
||||
return `std::array<${evaluatedType({type: property.value})}, ${property.length}>`;
|
||||
} else {
|
||||
return `std::vector<${evaluatedType({type: property.value})}>`;
|
||||
return `std::vector<${evaluatedType({type: property.value, name: property.name})}>`;
|
||||
}
|
||||
default: throw new Error(`unknown type for ${property.name}`)
|
||||
}
|
||||
|
||||
@@ -5,7 +5,6 @@ delete spec.layout_symbol['symbol-sort-key'];
|
||||
delete spec.layout_symbol['symbol-z-order'].values['auto'];
|
||||
spec.layout_symbol['symbol-z-order'].default = 'viewport-y';
|
||||
|
||||
delete spec.layout_symbol['text-variable-anchor'];
|
||||
delete spec.layout_symbol['text-radial-offset'];
|
||||
delete spec.layout_symbol['text-justify'].values['auto'];
|
||||
spec.layout_symbol['text-offset'].requires.splice(1, 1); // { "!": "text-radial-offset" }
|
||||
spec.layout_symbol['text-offset'].requires.splice(1, 1); // { "!": "text-radial-offset" }
|
||||
|
||||
Reference in New Issue
Block a user