From: Tigerfell <43786020+Tigerfell@users.noreply.github.com>
Date: Wed, 20 Jan 2021 20:16:07 +0000 (+0100)
Subject: Add CyclOSM tile layer to wiki maps
X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/8ab9da9fb0d33825e30089ee3c2e5a718058c2c1
Add CyclOSM tile layer to wiki maps
---
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 47f319c30..ddcfb62a7 100644
--- a/cookbooks/wiki/templates/default/mw-ext-MultiMaps.inc.php.erb
+++ b/cookbooks/wiki/templates/default/mw-ext-MultiMaps.inc.php.erb
@@ -9,6 +9,11 @@ require_once "$IP/extensions/MultiMaps/MultiMaps.php";
# denote different tiles within a BaseMapService
$egMultiMaps_MapServices = [
'Leaflet',
+ 'cyclosm' => [
+ 'service' => 'Leaflet',
+ 'attribution' => '© OpenStreetMap contributors. Tiles style by CyclOSM hosted by OpenStreetMap France',
+ 'source' => 'https://{s}.tile-cyclosm.openstreetmap.fr/cyclosm/{z}/{x}/{y}.png',
+ ],
'cycle' => [
'service' => 'Leaflet',
'attribution' => '© OpenStreetMap contributors. Tiles courtesy of Andy Allan',