levelsOfDetail
The number of levels of detail maintained by this layer.
Declaration
var levelsOfDetail: Int { get set }Discussion
Defaults to 1. Each level of detail is half the resolution of the previous level. If too many levels are specified for the current size of the layer, then the number of levels is clamped to the maximum value (the bottom most level of detail must contain at least a single pixel in each dimension.)