You are here

protected function LeafletTileLayerProviders::getBaseMaps in Geolocation Field 8.2

Same name and namespace in other branches
  1. 8.3 modules/geolocation_leaflet/src/LeafletTileLayerProviders.php \Drupal\geolocation_leaflet\LeafletTileLayerProviders::getBaseMaps()

Provide some available tile providers.

Return value

array An array containing tile provider IDs.

2 calls to LeafletTileLayerProviders::getBaseMaps()
LeafletControlLayer::getSettingsForm in modules/geolocation_leaflet/src/Plugin/geolocation/MapFeature/LeafletControlLayer.php
Provide a generic map settings form array.
LeafletTileLayer::getSettingsForm in modules/geolocation_leaflet/src/Plugin/geolocation/MapFeature/LeafletTileLayer.php
Provide a generic map settings form array.

File

modules/geolocation_leaflet/src/LeafletTileLayerProviders.php, line 85

Class

LeafletTileLayerProviders
Provides tile layer providers list.

Namespace

Drupal\geolocation_leaflet

Code

protected function getBaseMaps() {
  return [
    'OpenStreetMap' => [
      'OpenStreetMap Mapnik' => 'OpenStreetMap Mapnik',
      'OpenStreetMap BlackAndWhite' => 'OpenStreetMap BlackAndWhite',
      'OpenStreetMap DE' => 'OpenStreetMap DE',
      'OpenStreetMap CH' => 'OpenStreetMap CH',
      'OpenStreetMap France' => 'OpenStreetMap France',
      'OpenStreetMap HOT' => 'OpenStreetMap HOT',
      'OpenStreetMap BZH' => 'OpenStreetMap BZH',
    ],
    'OpenTopoMap' => [
      'OpenTopoMap' => 'OpenTopoMap',
    ],
    'Thunderforest' => [
      'Thunderforest OpenCycleMap' => 'Thunderforest OpenCycleMap',
      'Thunderforest Transport' => 'Thunderforest Transport',
      'Thunderforest TransportDark' => 'Thunderforest TransportDark',
      'Thunderforest SpinalMap' => 'Thunderforest SpinalMap',
      'Thunderforest Landscape' => 'Thunderforest Landscape',
      'Thunderforest Outdoors' => 'Thunderforest Outdoors',
      'Thunderforest Pioneer' => 'Thunderforest Pioneer',
    ],
    'OpenMapSurfer' => [
      'OpenMapSurfer Roads' => 'OpenMapSurfer Roads',
      'OpenMapSurfer Grayscale' => 'OpenMapSurfer Grayscale',
    ],
    'Hydda' => [
      'Hydda Full' => 'Hydda Full',
      'Hydda Base' => 'Hydda Base',
    ],
    'MapBox' => [
      'MapBox' => 'MapBox',
    ],
    'Stamen' => [
      'Stamen Toner' => 'Stamen Toner',
      'Stamen TonerBackground' => 'Stamen TonerBackground',
      'Stamen TonerLite' => 'Stamen TonerLite',
      'Stamen Watercolor' => 'Stamen Watercolor',
      'Stamen Terrain' => 'Stamen Terrain',
      'Stamen TerrainBackground' => 'Stamen TerrainBackground',
      'Stamen TopOSMRelief' => 'Stamen TopOSMRelief',
    ],
    'Esri' => [
      'Esri WorldStreetMap' => 'Esri WorldStreetMap',
      'Esri DeLorme' => 'Esri DeLorme',
      'Esri WorldTopoMap' => 'Esri WorldTopoMap',
      'Esri WorldImagery' => 'Esri WorldImagery',
      'Esri WorldTerrain' => 'Esri WorldTerrain',
      'Esri WorldShadedRelief' => 'Esri WorldShadedRelief',
      'Esri WorldPhysical' => 'Esri WorldPhysical',
      'Esri OceanBasemap' => 'Esri OceanBasemap',
      'Esri NatGeoWorldMap' => 'Esri NatGeoWorldMap',
      'Esri WorldGrayCanvas' => 'Esri WorldGrayCanvas',
    ],
    'HERE' => [
      'HERE normalDay' => 'HERE normalDay',
      'HERE normalDayCustom' => 'HERE normalDayCustom',
      'HERE normalDayGrey' => 'HERE normalDayGrey',
      'HERE normalDayMobile' => 'HERE normalDayMobile',
      'HERE normalDayGreyMobile' => 'HERE normalDayGreyMobile',
      'HERE normalDayTransit' => 'HERE normalDayTransit',
      'HERE normalDayTransitMobile' => 'HERE normalDayTransitMobile',
      'HERE normalNight' => 'HERE normalNight',
      'HERE normalNightMobile' => 'HERE normalNightMobile',
      'HERE normalNightGrey' => 'HERE normalNightGrey',
      'HERE normalNightGreyMobile' => 'HERE normalNightGreyMobile',
      'HERE normalNightTransit' => 'HERE normalNightTransit',
      'HERE normalNightTransitMobile' => 'HERE normalNightTransitMobile',
      'HERE redcuedDay' => 'HERE redcuedDay',
      'HERE redcuedNight' => 'HERE redcuedNight',
      'HERE basicMap' => 'HERE basicMap',
      'HERE mapLabels' => 'HERE mapLabels',
      'HERE trafficFlow' => 'HERE trafficFlow',
      'HERE carnavDayGrey' => 'HERE carnavDayGrey',
      'HERE hybridDayMobile' => 'HERE hybridDayMobile',
      'HERE hybridDayTransit' => 'HERE hybridDayTransit',
      'HERE hybridDayGrey' => 'HERE hybridDayGrey',
      'HERE pedestrianDay' => 'HERE pedestrianDay',
      'HERE pedestrianNight' => 'HERE pedestrianNight',
      'HERE satelliteDay' => 'HERE satelliteDay',
      'HERE terrainDay' => 'HERE terrainDay',
      'HERE terrainDayMobile' => 'HERE terrainDayMobile',
    ],
    'FreeMapSK' => [
      'FreeMapSK' => 'FreeMapSK',
    ],
    'MtbMap' => [
      'MtbMap' => 'MtbMap',
    ],
    'CartoDB' => [
      'CartoDB Positron' => 'CartoDB Positron',
      'CartoDB PositronNoLabels' => 'CartoDB PositronNoLabels',
      'CartoDB PositronOnlyLabels' => 'CartoDB PositronOnlyLabels',
      'CartoDB DarkMatter' => 'CartoDB DarkMatter',
      'CartoDB DarkMatterNoLabels' => 'CartoDB DarkMatterNoLabels',
      'CartoDB DarkMatterOnlyLabels' => 'CartoDB DarkMatterOnlyLabels',
      'CartoDB Voyager' => 'CartoDB Voyager',
      'CartoDB VoyagerNoLabels' => 'CartoDB VoyagerNoLabels',
      'CartoDB VoyagerOnlyLabels' => 'CartoDB VoyagerOnlyLabels',
      'CartoDB VoyagerLabelsUnder' => 'CartoDB VoyagerLabelsUnder',
    ],
    'HikeBike' => [
      'HikeBike' => 'HikeBike',
      'HikeBike HillShading' => 'HikeBike HillShading',
    ],
    'BasemapAT' => [
      'BasemapAT basemap' => 'BasemapAT basemap',
      'BasemapAT grau' => 'BasemapAT grau',
      'BasemapAT overlay' => 'BasemapAT overlay',
      'BasemapAT highdpi' => 'BasemapAT highdpi',
      'BasemapAT orthofoto' => 'BasemapAT orthofoto',
    ],
    'NLS' => [
      'NLS' => 'NLS',
    ],
    'Wikimedia' => [
      'Wikimedia' => 'Wikimedia',
    ],
    'GeoportailFrance' => [
      'GeoportailFrance parcels' => 'GeoportailFrance parcels',
      'GeoportailFrance ignMaps' => 'GeoportailFrance ignMaps',
      'GeoportailFrance maps' => 'GeoportailFrance maps',
      'GeoportailFrance orthos' => 'GeoportailFrance orthos',
    ],
  ];
}