public function LayerInterface::setSource in Openlayers 7.3
Set the source of this layer.
Parameters
SourceInterface $source: The source object.
Return value
LayerInterface The parent layer.
2 methods override LayerInterface::setSource()
- Error::setSource in src/
Types/ Error.php - Set the source of this layer.
- Layer::setSource in src/
Types/ Layer.php - Set the source of this layer.
File
- src/
Types/ LayerInterface.php, line 30 - Interface LayerInterface.
Class
- LayerInterface
- Interface LayerInterface.
Namespace
Drupal\openlayers\TypesCode
public function setSource(SourceInterface $source);