You are here

public static function MapTypeStyle::getDefaultSettings in Geolocation Field 8.3

Same name and namespace in other branches
  1. 8.2 modules/geolocation_google_maps/src/Plugin/geolocation/MapFeature/MapTypeStyle.php \Drupal\geolocation_google_maps\Plugin\geolocation\MapFeature\MapTypeStyle::getDefaultSettings()

Provide a populated settings array.

Return value

array The settings array with the default map settings.

Overrides MapFeatureBase::getDefaultSettings

File

modules/geolocation_google_maps/src/Plugin/geolocation/MapFeature/MapTypeStyle.php, line 24

Class

MapTypeStyle
Provides map styling support.

Namespace

Drupal\geolocation_google_maps\Plugin\geolocation\MapFeature

Code

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