You are here

public function Map::removeLayer in Openlayers 7.3

Return value

MapInterface The Map object.

Overrides MapInterface::removeLayer

File

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

Class

Map
Class Map.

Namespace

Drupal\openlayers\Types

Code

public function removeLayer($layer_id) {
  return $this
    ->removeObject($layer_id);
}