You are here

public function LayerInterface::setStyle in Openlayers 7.3

Set the style of this layer.

Parameters

StyleInterface $style: The style object.

Return value

LayerInterface The parent layer.

2 methods override LayerInterface::setStyle()
Error::setStyle in src/Types/Error.php
Set the style of this layer.
Layer::setStyle in src/Types/Layer.php
Set the style of this layer.

File

src/Types/LayerInterface.php, line 49
Interface LayerInterface.

Class

LayerInterface
Interface LayerInterface.

Namespace

Drupal\openlayers\Types

Code

public function setStyle(StyleInterface $style);