From 8ab9da9fb0d33825e30089ee3c2e5a718058c2c1 Mon Sep 17 00:00:00 2001
From: Tigerfell <43786020+Tigerfell@users.noreply.github.com>
Date: Wed, 20 Jan 2021 21:16:07 +0100
Subject: [PATCH] Add CyclOSM tile layer to wiki maps
---
.../wiki/templates/default/mw-ext-MultiMaps.inc.php.erb | 5 +++++
1 file changed, 5 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 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',
--
2.39.5