anchorLineEnabled
Gets or sets the StyleExpression object used to evaluate the style's anchorLineEnabled
property. Alternatively a string or object defining a boolean style can be used. The getter will return the internal Expression or ConditionsExpression, which may differ from the value provided to the setter.
The expression must return a Boolean
.
This expression is only applicable to point features in a Vector tile.
const style = new Cesium3DTileStyle();
// Override anchorLineEnabled expression with a string
style.anchorLineEnabled = 'true';
Content copied to clipboard
const style = new Cesium3DTileStyle();
// Override anchorLineEnabled expression with a condition
style.anchorLineEnabled = {
conditions : [
['${height} 2', 'true'],
['true', 'false']
]
};
Content copied to clipboard