You are here

public static function ControlGoogleZoom::getDefaultSettings in Geolocation Field 8.3

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

Provide a populated settings array.

Return value

array The settings array with the default map settings.

Overrides ControlGoogleElementBase::getDefaultSettings

1 call to ControlGoogleZoom::getDefaultSettings()
ControlGoogleZoom::getSettingsForm in modules/geolocation_google_maps/src/Plugin/geolocation/MapFeature/ControlGoogleZoom.php
Provide a generic map settings form array.

File

modules/geolocation_google_maps/src/Plugin/geolocation/MapFeature/ControlGoogleZoom.php, line 22

Class

ControlGoogleZoom
Provides Zoom control element.

Namespace

Drupal\geolocation_google_maps\Plugin\geolocation\MapFeature

Code

public static function getDefaultSettings() {
  $settings = parent::getDefaultSettings();
  $settings['style'] = 'LARGE';
  return $settings;
}