public function Stroke::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/ OpenlayersStyle/ Stroke.php, line 39
Class
- Stroke
- Defines the Line style for Openlayers features.
Namespace
Drupal\openlayers\Plugin\OpenlayersStyleCode
public function defaultConfiguration() {
return [
'color' => NULL,
'lineDash' => NULL,
'width' => 1,
];
}