You are here

private function LeafletTileLayerOverlay::getTileOverlays in Geolocation Field 8.3

Provide some available tile overlays.

Return value

array An array containing tile overlay IDs.

1 call to LeafletTileLayerOverlay::getTileOverlays()
LeafletTileLayerOverlay::getSettingsForm in modules/geolocation_leaflet/src/Plugin/geolocation/MapFeature/LeafletTileLayerOverlay.php
Provide a generic map settings form array.

File

modules/geolocation_leaflet/src/Plugin/geolocation/MapFeature/LeafletTileLayerOverlay.php, line 152

Class

LeafletTileLayerOverlay
Provides map tile layer overlay support.

Namespace

Drupal\geolocation_leaflet\Plugin\geolocation\MapFeature

Code

private function getTileOverlays() {
  return [
    'OpenInfraMap' => [
      'OpenInfraMap.Power' => 'OpenInfraMap Power',
      'OpenInfraMap.Telecom' => 'OpenInfraMap Telecom',
      'OpenInfraMap.Petroleum' => 'OpenInfraMap Petroleum',
      'OpenInfraMap.Water' => 'OpenInfraMap Water',
    ],
    'OpenSeaMap' => [
      'OpenSeaMap' => 'OpenSeaMap',
    ],
    'OpenPtMap' => [
      'OpenPtMap' => 'OpenPtMap',
    ],
    'OpenRailwayMap' => [
      'OpenRailwayMap' => 'OpenRailwayMap',
    ],
    'OpenFireMap' => [
      'OpenFireMap' => 'OpenFireMap',
    ],
    'SafeCast' => [
      'SafeCast' => 'SafeCast',
    ],
    'OpenMapSurfer' => [
      'OpenMapSurfer.AdminBounds' => 'OpenMapSurfer AdminBounds',
    ],
    'Hydda' => [
      'Hydda.RoadsAndLabels' => 'Hydda RoadsAndLabels',
    ],
    'Stamen' => [
      'Stamen.TonerHybrid' => 'Stamen TonerHybrid',
      'Stamen.TonerLines' => 'Stamen TonerLines',
      'Stamen.TonerLabels' => 'Stamen TonerLabels',
      'Stamen.TopOSMFeatures' => 'Stamen TopOSMFeatures',
    ],
    'OpenWeatherMap' => [
      'OpenWeatherMap.Clouds' => 'OpenWeatherMap Clouds',
      'OpenWeatherMap.CloudsClassic' => 'OpenWeatherMap CloudsClassic',
      'OpenWeatherMap.Precipitation' => 'OpenWeatherMap Precipitation',
      'OpenWeatherMap.PrecipitationClassic' => 'OpenWeatherMap PrecipitationClassic',
      'OpenWeatherMap.Rain' => 'OpenWeatherMap Rain',
      'OpenWeatherMap.RainClassic' => 'OpenWeatherMap RainClassic',
      'OpenWeatherMap.Pressure' => 'OpenWeatherMap Pressure',
      'OpenWeatherMap.PressureContour' => 'OpenWeatherMap PressureContour',
      'OpenWeatherMap.Wind' => 'OpenWeatherMap Wind',
      'OpenWeatherMap.Temperature' => 'OpenWeatherMap Temperature',
      'OpenWeatherMap.Snow' => 'OpenWeatherMap Snow',
    ],
    'JusticeMap' => [
      'JusticeMap.income' => 'JusticeMap income',
      'JusticeMap.americanIndian' => 'JusticeMap americanIndian',
      'JusticeMap.asian' => 'JusticeMap asian',
      'JusticeMap.black' => 'JusticeMap black',
      'JusticeMap.hispanic' => 'JusticeMap hispanic',
      'JusticeMap.multi' => 'JusticeMap multi',
      'JusticeMap.nonWhite' => 'JusticeMap nonWhite',
      'JusticeMap.white' => 'JusticeMap white',
      'JusticeMap.plurality' => 'JusticeMap plurality',
    ],
  ];
}