[core] Enable 'text-radial-offset' property
This commit is contained in:
@@ -153,7 +153,11 @@ global.defaultValue = function (property) {
|
||||
|
||||
switch (property.type) {
|
||||
case 'number':
|
||||
if (property.default === undefined) {
|
||||
return 0;
|
||||
} else {
|
||||
return property.default;
|
||||
}
|
||||
case 'formatted':
|
||||
case 'string':
|
||||
return JSON.stringify(property.default || "");
|
||||
|
||||
@@ -5,6 +5,4 @@ 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-radial-offset'];
|
||||
delete spec.layout_symbol['text-justify'].values['auto'];
|
||||
spec.layout_symbol['text-offset'].requires.splice(1, 1); // { "!": "text-radial-offset" }
|
||||
delete spec.layout_symbol['text-justify'].values['auto'];
|
||||
Reference in New Issue
Block a user