From 3736dc6e58fea1fc54fd42ffc872a1e82b7ba293 Mon Sep 17 00:00:00 2001 From: Tigerfell Date: Fri, 14 Aug 2020 13:00:35 +0200 Subject: [PATCH] align wiki tile layer list with featured tile layers at osm.org --- .../default/mw-ext-MultiMaps.inc.php.erb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/cookbooks/wiki/templates/default/mw-ext-MultiMaps.inc.php.erb b/cookbooks/wiki/templates/default/mw-ext-MultiMaps.inc.php.erb index 7d214127b..47f319c30 100644 --- a/cookbooks/wiki/templates/default/mw-ext-MultiMaps.inc.php.erb +++ b/cookbooks/wiki/templates/default/mw-ext-MultiMaps.inc.php.erb @@ -9,9 +9,24 @@ require_once "$IP/extensions/MultiMaps/MultiMaps.php"; # denote different tiles within a BaseMapService $egMultiMaps_MapServices = [ 'Leaflet', + 'cycle' => [ + 'service' => 'Leaflet', + 'attribution' => '© OpenStreetMap contributors. Tiles courtesy of Andy Allan', + 'source' => 'https://tile.thunderforest.com/cycle/{z}/{x}/{y}.png?apikey=<%= @thunderforest_key %>', + ], 'transport' => [ 'service' => 'Leaflet', 'attribution' => '© OpenStreetMap contributors. Tiles courtesy of Andy Allan', 'source' => 'https://tile.thunderforest.com/transport/{z}/{x}/{y}.png?apikey=<%= @thunderforest_key %>', ], + 'oepnv' => [ + 'service' => 'Leaflet', + 'attribution' => '© OpenStreetMap contributors. Tiles courtesy of MeMoMaps', + 'source' => 'https://tileserver.memomaps.de/tilegen/{z}/{x}/{y}.png', + ], + 'humanitarian' => [ + 'service' => 'Leaflet', + 'attribution' => '© OpenStreetMap contributors. Tiles style by Humanitarian OpenStreetMap team hosted by OpenStreetMap France', + 'source' => 'https://tile.openstreetmap.fr/hot/{z}/{x}/{y}.png' + ], ]; -- 2.43.2