You are here

public function MapInterface::removeControl in Openlayers 7.3

Remove a control from the map.

Parameters

string $control_id: The machine name (or id) of the control to remove.

Return value

MapInterface The map.

1 method overrides MapInterface::removeControl()
Map::removeControl in src/Types/Map.php

File

src/Types/MapInterface.php, line 96
Interface MapInterface.

Class

MapInterface
Interface MapInterface.

Namespace

Drupal\openlayers\Types

Code

public function removeControl($control_id);