You are here

public static function FixedBoundaries::getDefaultSettings in Geolocation Field 8.3

Provide a populated settings array.

Return value

array The settings array with the default map settings.

Overrides MapCenterBase::getDefaultSettings

File

src/Plugin/geolocation/MapCenter/FixedBoundaries.php, line 23

Class

FixedBoundaries
Fixed boundaries map center.

Namespace

Drupal\geolocation\Plugin\geolocation\MapCenter

Code

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