Lines Matching refs:groupSelectStyle
83 this.groupSelectStyle = LayerSwitcher.getGroupSelectStyle(options.groupSelectStyle);
98 element.classList.add(CSS_PREFIX + 'group-select-style-' + this.groupSelectStyle);
218 groupSelectStyle: this.groupSelectStyle, property
235 options.groupSelectStyle = LayerSwitcher.getGroupSelectStyle(options.groupSelectStyle);
236 LayerSwitcher.ensureTopVisibleBaseLayerShown(map, options.groupSelectStyle);
245 if (options.groupSelectStyle === 'children' ||
246 options.groupSelectStyle === 'none') {
251 else if (options.groupSelectStyle === 'group') {
342 static ensureTopVisibleBaseLayerShown(map, groupSelectStyle) { argument
350 LayerSwitcher.setVisible_(map, lastVisibleBaseLyr, true, groupSelectStyle);
385 static setVisible_(map, lyr, visible, groupSelectStyle) { argument
398 groupSelectStyle === 'children') {
400 LayerSwitcher.setVisible_(map, l, lyr.getVisible(), groupSelectStyle);
435 if (!isBaseGroup && options.groupSelectStyle != 'none') {
443 LayerSwitcher.setVisible_(map, lyr, target.checked, options.groupSelectStyle);
469 LayerSwitcher.setVisible_(map, lyr, target.checked, options.groupSelectStyle);
583 static getGroupSelectStyle(groupSelectStyle) { argument
584 return ['none', 'children', 'group'].indexOf(groupSelectStyle) >= 0
585 ? groupSelectStyle