public function Layer::getVisible in Openlayers 7.3
Return the visibility of the layer.
Return value
bool The visibility of the layer, TRUE or FALSE.
Overrides LayerInterface::getVisible
File
- src/
Types/ Layer.php, line 124 - Class Layer.
Class
- Layer
- Class Layer.
Namespace
Drupal\openlayers\TypesCode
public function getVisible() {
return (bool) $this
->getOption('visible');
}