You are here

public static function LeafletMaxBounds::getDefaultSettings in Geolocation Field 8.2

Same name and namespace in other branches
  1. 8.3 modules/geolocation_leaflet/src/Plugin/geolocation/MapFeature/LeafletMaxBounds.php \Drupal\geolocation_leaflet\Plugin\geolocation\MapFeature\LeafletMaxBounds::getDefaultSettings()

Provide a populated settings array.

Return value

array The settings array with the default map settings.

Overrides MapFeatureBase::getDefaultSettings

File

modules/geolocation_leaflet/src/Plugin/geolocation/MapFeature/LeafletMaxBounds.php, line 23

Class

LeafletMaxBounds
Provides Leaflet.

Namespace

Drupal\geolocation_leaflet\Plugin\geolocation\MapFeature

Code

public static function getDefaultSettings() {
  return [
    'north' => '',
    'south' => '',
    'east' => '',
    'west' => '',
  ];
}