You are here

public function MapSettings::__construct in Openlayers 8.4

File

src/MapSettings.php, line 17

Class

MapSettings
Generates the complete settings for the selected map, together with all the related layers / sources / interactions / etc.

Namespace

Drupal\openlayers

Code

public function __construct($map_id) {
  $this->settings = $this
    ->getSettings($map_id, 'map');
}