public function MousePosition::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/ MousePosition.php, line 39
Class
- MousePosition
- Defines the Mouse Position control for an Openlayers map.
Namespace
Drupal\openlayers\Plugin\OpenlayersControlCode
public function defaultConfiguration() {
return [
'className' => 'ol-mouse-position',
];
}