You are here

public function Rotate::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/Rotate.php, line 39

Class

Rotate
Defines the Rotate control for an Openlayers map.

Namespace

Drupal\openlayers\Plugin\OpenlayersControl

Code

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