You are here

public static function LeafletWMS::getDefaultSettings in Geolocation Field 8.2

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

Class

LeafletWMS
Provides Web Map services.

Namespace

Drupal\geolocation_leaflet\Plugin\geolocation\MapFeature

Code

public static function getDefaultSettings() {
  return [
    'url' => '',
    'version' => '1.1.1',
    'layers' => '',
    'styles' => '',
    'srs' => '',
    'format' => 'image/jpeg',
    'transparent' => FALSE,
    'identify' => FALSE,
  ];
}