You are here

public function Map::addControl in Openlayers 7.3

Return value

MapInterface The Map object.

Overrides MapInterface::addControl

File

src/Types/Map.php, line 31
Class Map.

Class

Map
Class Map.

Namespace

Drupal\openlayers\Types

Code

public function addControl(ControlInterface $control) {
  return $this
    ->addObject($control);
}