public function Error::setOpacity in Openlayers 7.3
Set the opacity of the layer.
Parameters
float $opacity: The opacity value, allowed values range from 0 to 1.
Return value
LayerInterface The parent layer.
Overrides LayerInterface::setOpacity
File
- src/
Types/ Error.php, line 127 - Contains class Error.
Class
- Error
- Class Error.
Namespace
Drupal\openlayers\TypesCode
public function setOpacity($opacity) {
}