Determines whether to respect the properties of the layers in the map that control the legend's visibility (
respectLayerVisibilityproperty of the legend is set to
false, the legend elements for each layer in the map will always display, thus disregarding the
legendEnabledproperties for each layer in the map.
Does this answer your question?