You are here

public static function MarkerInfoBubble::getDefaultSettings in Geolocation Field 8.3

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

Class

MarkerInfoBubble
Provides marker infobubble.

Namespace

Drupal\geolocation_google_maps\Plugin\geolocation\MapFeature

Code

public static function getDefaultSettings() {
  return [
    'close_button' => FALSE,
    'close_other' => TRUE,
    'close_button_src' => '',
    'shadow_style' => 0,
    'padding' => 10,
    'border_radius' => 8,
    'border_width' => 2,
    'border_color' => '#039be5',
    'background_color' => '#fff',
    'min_width' => '',
    'max_width' => '550',
    'min_height' => '',
    'max_height' => '',
    'arrow_style' => 2,
    'arrow_position' => 30,
    'arrow_size' => 10,
  ];
}