You are here

public static function MarkerInfoWindow::getDefaultSettings in Geolocation Field 8.2

Same name and namespace in other branches
  1. 8.3 modules/geolocation_google_maps/src/Plugin/geolocation/MapFeature/MarkerInfoWindow.php \Drupal\geolocation_google_maps\Plugin\geolocation\MapFeature\MarkerInfoWindow::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/MarkerInfoWindow.php, line 23

Class

MarkerInfoWindow
Provides marker infowindow.

Namespace

Drupal\geolocation_google_maps\Plugin\geolocation\MapFeature

Code

public static function getDefaultSettings() {
  return [
    'info_auto_display' => FALSE,
    'disable_auto_pan' => TRUE,
    'info_window_solitary' => TRUE,
    'max_width' => '',
  ];
}