We have a content length check on layer view panels in order to prevent containers from being displayed empty.
Some apps may use conditional checks for layers and data availability, like country, region etc and hide them.
A group holding layers with no data available might display empty if none of contained layers have available data.
To include a check on group length to prevent showing empty groups where all layers have been conditionally hidden.
We have a plugin conditional_layer_hide written for demo requirements which removes empty layers after testing data which means checks are run after layers are created and then removed.
Could no data check be a method of a layer object?
We have a content length check on layer view panels in order to prevent containers from being displayed empty.
Some apps may use conditional checks for layers and data availability, like country, region etc and hide them.
A group holding layers with no data available might display empty if none of contained layers have available data.
To include a check on group length to prevent showing empty groups where all layers have been conditionally hidden.
We have a plugin
conditional_layer_hidewritten for demo requirements which removes empty layers after testing data which means checks are run after layers are created and then removed.Could no data check be a method of a layer object?