public static function Here::getDefaultSettings in Geolocation Field 8.3
Same name and namespace in other branches
- 8.2 modules/geolocation_here/src/Plugin/geolocation/MapProvider/Here.php \Drupal\geolocation_here\Plugin\geolocation\MapProvider\Here::getDefaultSettings()
Provide a populated settings array.
Return value
array The settings array with the default map settings.
Overrides MapProviderBase::getDefaultSettings
2 calls to Here::getDefaultSettings()
- Here::getSettingsForm in modules/
geolocation_here/ src/ Plugin/ geolocation/ MapProvider/ Here.php - Provide a generic map settings form array.
- Here::getSettingsSummary in modules/
geolocation_here/ src/ Plugin/ geolocation/ MapProvider/ Here.php - Provide a summary array to use in field formatters.
File
- modules/
geolocation_here/ src/ Plugin/ geolocation/ MapProvider/ Here.php, line 22
Class
- Here
- Provides HERE Maps API.
Namespace
Drupal\geolocation_here\Plugin\geolocation\MapProviderCode
public static function getDefaultSettings() {
return array_replace_recursive(parent::getDefaultSettings(), [
'zoom' => 10,
'height' => '400px',
'width' => '100%',
]);
}