You are here

public static function YandexBalloon::getDefaultSettings in Geolocation Field 8.2

Same name and namespace in other branches
  1. 8.3 modules/geolocation_yandex/src/Plugin/geolocation/MapFeature/YandexBalloon.php \Drupal\geolocation_yandex\Plugin\geolocation\MapFeature\YandexBalloon::getDefaultSettings()

Provide a populated settings array.

Return value

array The settings array with the default map settings.

Overrides MapFeatureBase::getDefaultSettings

File

modules/geolocation_yandex/src/Plugin/geolocation/MapFeature/YandexBalloon.php, line 23

Class

YandexBalloon
Provides marker balloon.

Namespace

Drupal\geolocation_yandex\Plugin\geolocation\MapFeature

Code

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