You are here

public function Map::getTarget in Openlayers 7.3

Get the target ID in which this map is rendered.

Return value

string The ID of the Element that the map is rendered in.

Overrides MapInterface::getTarget

File

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

Class

Map
Class Map.

Namespace

Drupal\openlayers\Types

Code

public function getTarget() {
  return $this
    ->getOption('target');
}