You are here

public function OpenlayersMap::deleteMapLayer in Openlayers 8.4

File

src/Entity/OpenlayersMap.php, line 293

Class

OpenlayersMap
Defines the Openlayers Map entity.

Namespace

Drupal\openlayers\Entity

Code

public function deleteMapLayer($configuration) {
  $uuid = $configuration->uuid;
  unset($this->layers[$uuid]);
}