You are here

public static function FitLocations::getDefaultSettings in Geolocation Field 8.3

Same name and namespace in other branches
  1. 8.2 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 25

Class

FitLocations
Fixed coordinates map center.

Namespace

Drupal\geolocation\Plugin\geolocation\MapCenter

Code

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