Not all layers support the legendEnabled property. To avoid casts to any, we could cast to this interface, when accessing it.
Indicates whether the layer will be included in the legend.
Not all layers support the legendEnabled property. To avoid casts to any, we could cast to this interface, when accessing it.