You are here

public function MapInterface::setTarget in Openlayers 7.3

Set the target element to render this map into.

Parameters

string $target: The html ID of the element to render the map into.

Return value

MapInterface The map.

1 method overrides MapInterface::setTarget()
Map::setTarget in src/Types/Map.php
Set the target element to render this map into.

File

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

Class

MapInterface
Interface MapInterface.

Namespace

Drupal\openlayers\Types

Code

public function setTarget($target);