You are here

public function Zoom::defaultConfiguration in Openlayers 8.4

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides OpenlayersPluginBase::defaultConfiguration

File

src/Plugin/OpenlayersControl/Zoom.php, line 39

Class

Zoom
Defines the Zoom control for an Openlayers map.

Namespace

Drupal\openlayers\Plugin\OpenlayersControl

Code

public function defaultConfiguration() {
  return [
    'className' => 'ol-zoom',
  ];
}