You are here

public function MapStyle::getConfiguration in Openlayers 8.4

File

src/MapStyle.php, line 51

Class

MapStyle
Contains details of how a style is joined to a map.

Namespace

Drupal\openlayers

Code

public function getConfiguration() {
  return [
    'uuid' => $this
      ->getUuid(),
    'id' => $this
      ->id(),
    'weight' => $this
      ->getWeight(),
    'data' => $this->configuration,
  ];
}