public function MapInterface::removeComponent in Openlayers 7.3
Remove a component from the map.
Parameters
string $component_id: The machine name (or id) of the component to remove.
Return value
MapInterface The map.
1 method overrides MapInterface::removeComponent()
- Map::removeComponent in src/
Types/ Map.php
File
- src/
Types/ MapInterface.php, line 85 - Interface MapInterface.
Class
- MapInterface
- Interface MapInterface.
Namespace
Drupal\openlayers\TypesCode
public function removeComponent($component_id);