public static function MarkerIcon::getDefaultSettings in Geolocation Field 8.3
Same name and namespace in other branches
- 8.2 modules/geolocation_google_maps/src/Plugin/geolocation/MapFeature/MarkerIcon.php \Drupal\geolocation_google_maps\Plugin\geolocation\MapFeature\MarkerIcon::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/ MarkerIcon.php, line 23
Class
- MarkerIcon
- Provides Google Maps.
Namespace
Drupal\geolocation_google_maps\Plugin\geolocation\MapFeatureCode
public static function getDefaultSettings() {
return [
'marker_icon_path' => '',
'anchor' => [
'x' => 0,
'y' => 0,
],
'origin' => [
'x' => 0,
'y' => 0,
],
'label_origin' => [
'x' => 0,
'y' => 0,
],
'size' => [
'width' => NULL,
'height' => NULL,
],
'scaled_size' => [
'width' => NULL,
'height' => NULL,
],
];
}