public static function OpenlayersGeolocationWidget::defaultSettings in Openlayers 8.4
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides OpenlayersWidgetBase::defaultSettings
File
- modules/
openlayers_geolocation/ src/ Plugin/ Field/ FieldWidget/ OpenlayersGeolocationWidget.php, line 32
Class
- OpenlayersGeolocationWidget
- Plugin implementation of an Openlayers widget.
Namespace
Drupal\openlayers\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'toolbar' => [
'position' => 'top',
'drawPoint' => TRUE,
'editMode' => TRUE,
'deleteMode' => TRUE,
],
] + parent::defaultSettings();
}