You are here

public static function FitLocations::getDefaultSettings in Geolocation Field 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/geolocation/MapCenter/FitLocations.php \Drupal\geolocation\Plugin\geolocation\MapCenter\FitLocations::getDefaultSettings()

Provide a populated settings array.

Return value

array The settings array with the default map settings.

Overrides MapCenterBase::getDefaultSettings

File

src/Plugin/geolocation/MapCenter/FitLocations.php, line 24

Class

FitLocations
Fixed coordinates map center.

Namespace

Drupal\geolocation\Plugin\geolocation\MapCenter

Code

public static function getDefaultSettings() {
  return [
    'reset_zoom' => FALSE,
  ];
}