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