public static function ControlGoogleZoom::getDefaultSettings in Geolocation Field 8.2
Same name and namespace in other branches
- 8.3 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\MapFeatureCode
public static function getDefaultSettings() {
$settings = parent::getDefaultSettings();
$settings['style'] = 'LARGE';
return $settings;
}