public function OpenlayersMap::__construct in Openlayers 8.4
Constructs a Openlayers Map object.
Overrides PluginBase::__construct
File
- src/
Plugin/ views/ style/ OpenlayersMap.php, line 54 - Definition of Drupal\openlayers\Plugin\views\style\OpenlayersMap.
Class
- OpenlayersMap
- Style plugin to render geodata on an Openlayers map.
Namespace
Drupal\openlayers\Plugin\views\styleCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityFieldManagerInterface $entity_field_manager, OpenlayersService $openlayers_service) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->entityFieldManager = $entity_field_manager;
$this->openlayersService = $openlayers_service;
}