]> git.openstreetmap.org Git - chef.git/commitdiff
align wiki tile layer list with featured tile layers at osm.org
authorTigerfell <tigerfell-688@tuta.io>
Fri, 14 Aug 2020 11:00:35 +0000 (13:00 +0200)
committerTigerfell <tigerfell-688@tuta.io>
Fri, 14 Aug 2020 11:14:22 +0000 (13:14 +0200)
cookbooks/wiki/templates/default/mw-ext-MultiMaps.inc.php.erb

index 7d214127b77832a62ba01fae21a9a8002805fe98..47f319c30316a8330ce80cb72f5895b722cee17b 100644 (file)
@@ -9,9 +9,24 @@ require_once "$IP/extensions/MultiMaps/MultiMaps.php";
 # denote different tiles within a BaseMapService
 $egMultiMaps_MapServices = [
   'Leaflet',
+  'cycle' => [
+    'service' => 'Leaflet',
+    'attribution' => '&copy; <a href="https://osm.org/copyright">OpenStreetMap contributors</a>. Tiles courtesy of <a href="https://www.thunderforest.com/" target="_blank">Andy Allan</a>',
+    'source' => 'https://tile.thunderforest.com/cycle/{z}/{x}/{y}.png?apikey=<%= @thunderforest_key %>',
+  ],
   'transport' => [
     'service' => 'Leaflet',
     'attribution' => '&copy; <a href="https://osm.org/copyright">OpenStreetMap contributors</a>. Tiles courtesy of <a href="https://www.thunderforest.com/" target="_blank">Andy Allan</a>',
     'source' => 'https://tile.thunderforest.com/transport/{z}/{x}/{y}.png?apikey=<%= @thunderforest_key %>',
   ],
+  'oepnv' => [
+    'service' => 'Leaflet',
+    'attribution' => '&copy; <a href="https://osm.org/copyright">OpenStreetMap contributors</a>. Tiles courtesy of <a href="https://memomaps.de/" target="_blank">MeMoMaps</a>',
+    'source' => 'https://tileserver.memomaps.de/tilegen/{z}/{x}/{y}.png',
+  ],
+  'humanitarian' => [
+    'service' => 'Leaflet',
+    'attribution' => '&copy; <a href="https://osm.org/copyright">OpenStreetMap contributors</a>. Tiles style by <a href="https://www.hotosm.org/" target="_blank">Humanitarian OpenStreetMap team</a> hosted by <a href="https://openstreetmap.fr/" target="_blank">OpenStreetMap France</a>',
+    'source' => 'https://tile.openstreetmap.fr/hot/{z}/{x}/{y}.png'
+  ],
 ];