You are here

public static function MarkerClusterer::getDefaultSettings in Geolocation Field 8.3

Same name and namespace in other branches
  1. 8.2 modules/geolocation_google_maps/src/Plugin/geolocation/MapFeature/MarkerClusterer.php \Drupal\geolocation_google_maps\Plugin\geolocation\MapFeature\MarkerClusterer::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/MarkerClusterer.php, line 25

Class

MarkerClusterer
Provides marker clusterer.

Namespace

Drupal\geolocation_google_maps\Plugin\geolocation\MapFeature

Code

public static function getDefaultSettings() {
  return [
    'image_path' => '',
    'styles' => '',
    'max_zoom' => 15,
    'zoom_on_click' => TRUE,
    'average_center' => FALSE,
    'grid_size' => 60,
    'minimum_cluster_size' => 2,
  ];
}