Lines Matching +full:g +full:- +full:touch
13 const CSS_PREFIX = 'layer-switcher-';
52 …p's [`addControl` method](https://openlayers.org/en/latest/apidoc/module-ol_Map-Map.html#addContro…
86 this.hiddenClassName = 'ol-unselectable ol-control layer-switcher';
88 this.hiddenClassName += ' touch';
98 element.classList.add(CSS_PREFIX + 'group-select-style-' + this.groupSelectStyle);
99 element.classList.add(CSS_PREFIX + 'activation-mode-' + this.activationMode);
101 // TODO Next: Remove in favour of layer-switcher-activation-mode-click
204 this.button.setAttribute('aria-label', this.collapseTipLabel);
209 this.button.setAttribute('aria-label', this.tipLabel);
213 * Re-draw the layer panel to represent the current state of the layers.
224 * **_[static]_** - Re-draw the layer panel to represent the current state of the layers.
267 * **_[static]_** - Determine if a given layer group contains base layers
286 // console.log(groups.map(g => g.get('title')));
337 * Ensure only the top-most base layer is visible if more than one is visible.
353 …* **_[static]_** - Get an Array of all layers and groups displayed by the LayerSwitcher (has a `'t…
421 li.classList.add(CSS_PREFIX + 'base-group');
509 * **_[static]_** - Call the supplied function for each layer in the passed layer group
524 * **_[static]_** - Generate a UUID
529 return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
537 * @param elm Element on which to enable touch scrolling
547 this.scrollTop = scrollStartPos - event.touches[0].pageY;
552 * Determine if the current browser supports touch events. Adapted from