public static function LeafletMarkerPopup::getDefaultSettings in Geolocation Field 8.3
Same name and namespace in other branches
- 8.2 modules/geolocation_leaflet/src/Plugin/geolocation/MapFeature/LeafletMarkerPopup.php \Drupal\geolocation_leaflet\Plugin\geolocation\MapFeature\LeafletMarkerPopup::getDefaultSettings()
Provide a populated settings array.
Return value
array The settings array with the default map settings.
Overrides MapFeatureBase::getDefaultSettings
File
- modules/
geolocation_leaflet/ src/ Plugin/ geolocation/ MapFeature/ LeafletMarkerPopup.php, line 23
Class
- LeafletMarkerPopup
- Provides marker popup.
Namespace
Drupal\geolocation_leaflet\Plugin\geolocation\MapFeatureCode
public static function getDefaultSettings() {
return [
'info_auto_display' => FALSE,
'max_width' => 300,
'min_width' => 50,
'max_height' => 0,
'auto_pan' => TRUE,
'keep_in_view' => FALSE,
'close_button' => TRUE,
'auto_close' => TRUE,
'close_on_escape_key' => TRUE,
'class_name' => '',
];
}