public static function Spiderfying::getDefaultSettings in Geolocation Field 8.2
Same name and namespace in other branches
- 8.3 modules/geolocation_google_maps/src/Plugin/geolocation/MapFeature/Spiderfying.php \Drupal\geolocation_google_maps\Plugin\geolocation\MapFeature\Spiderfying::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/ Spiderfying.php, line 23
Class
- Spiderfying
- Provides Spiderfying.
Namespace
Drupal\geolocation_google_maps\Plugin\geolocation\MapFeatureCode
public static function getDefaultSettings() {
return [
'spiderfiable_marker_path' => base_path() . drupal_get_path('module', 'geolocation_google_maps') . '/images/marker-plus.svg',
'markersWontMove' => TRUE,
'markersWontHide' => FALSE,
'keepSpiderfied' => TRUE,
'ignoreMapClick' => FALSE,
'nearbyDistance' => 20,
'circleSpiralSwitchover' => 9,
'circleFootSeparation' => 23,
'spiralFootSeparation' => 26,
'spiralLengthStart' => 11,
'spiralLengthFactor' => 4,
'legWeight' => 1.5,
];
}