function generateLayerMetaForSplitViews(layer) {
  return {
    isAvailable: layer.config.isVisible,
    isVisible: layer.config.isVisible
  };
}
function generateLayerMetaForSplitViews(layer) {
  return {
    isAvailable: layer.config.isVisible,
    isVisible: layer.config.isVisible
  };
}
function generateLayerMetaForSplitViews ( layer ) { return { isAvailable : layer . config . isVisible , isVisible : layer . config . isVisible } ; }
/* eslint-enable max-statements
/ * eslint - enable max - statements
Generate meta for a layer for split views