You are here

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

Class

ScaleLine
Defines the Scale Line control for an Openlayers map.

Namespace

Drupal\openlayers\Plugin\OpenlayersControl

Code

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