You are here

public function Map::addInteraction in Openlayers 7.3

Return value

MapInterface The Map object.

Overrides MapInterface::addInteraction

File

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

Class

Map
Class Map.

Namespace

Drupal\openlayers\Types

Code

public function addInteraction(InteractionInterface $interaction) {
  return $this
    ->addObject($interaction);
}