var maxScale: Double

The maximum scale at which labels will be visible. In 3D scenes,the scale range is between individual label and view plane instead of map and view plane. Labels will only be visible when the viewing scale is smaller than (or equal to) the maxScale.

For example, if the viewing scale is 1:12000 and the LabelDefinition.getMaxScale() is 1:10000, then the labels will be visible (because 1/12000 <= 1/10000). A LabelDefinition.getMaxScale() of 0, which is the default, indicates no upper limit on the viewing scale.