You are here

public static function LeafletMarkerClusterer::getDefaultSettings in Geolocation Field 8.2

Same name and namespace in other branches
  1. 8.3 modules/geolocation_leaflet/src/Plugin/geolocation/MapFeature/LeafletMarkerClusterer.php \Drupal\geolocation_leaflet\Plugin\geolocation\MapFeature\LeafletMarkerClusterer::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/LeafletMarkerClusterer.php, line 23

Class

LeafletMarkerClusterer
Provides marker clusterer.

Namespace

Drupal\geolocation_leaflet\Plugin\geolocation\MapFeature

Code

public static function getDefaultSettings() {
  $default_settings = parent::getDefaultSettings();
  $default_settings['cluster_settings'] = [];
  return $default_settings;
}