public function MapInterface::addComponent in Openlayers 7.3
Add a component to the map.
Parameters
ComponentInterface $component: The component object to add.
Return value
MapInterface The parent map.
1 method overrides MapInterface::addComponent()
- Map::addComponent in src/
Types/ Map.php
File
- src/
Types/ MapInterface.php, line 41 - Interface MapInterface.
Class
- MapInterface
- Interface MapInterface.
Namespace
Drupal\openlayers\TypesCode
public function addComponent(ComponentInterface $component);