From 5923375bdb79190b57fe010af6f8161afd6bc18a Mon Sep 17 00:00:00 2001 From: Joan Maspons Date: Tue, 30 Apr 2024 18:35:00 +0200 Subject: [PATCH 1/3] Add tiles in Catalan from https://www.openstreetmap.cat --- leaflet-providers.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/leaflet-providers.js b/leaflet-providers.js index b404b3a..b5a3484 100644 --- a/leaflet-providers.js +++ b/leaflet-providers.js @@ -121,6 +121,12 @@ bounds: [[46.2, -5.5], [50, 0.7]] } } + CAT: { + url: 'https://tile.openstreetmap.bzh/ca/{z}/{x}/{y}.png', + options: { + attribution: '{attribution.OpenStreetMap}, Tiles courtesy of Breton OpenStreetMap Team', + } + } } }, MapTilesAPI: { From 4b127491642883291f162c56e5a9389e115d59d7 Mon Sep 17 00:00:00 2001 From: Joan Maspons Date: Thu, 4 Jul 2024 22:59:38 +0200 Subject: [PATCH 2/3] Fix missing , --- leaflet-providers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leaflet-providers.js b/leaflet-providers.js index ce32b6f..33be9cf 100644 --- a/leaflet-providers.js +++ b/leaflet-providers.js @@ -120,7 +120,7 @@ attribution: '{attribution.OpenStreetMap}, Tiles courtesy of Breton OpenStreetMap Team', bounds: [[46.2, -5.5], [50, 0.7]] } - } + }, CAT: { url: 'https://tile.openstreetmap.bzh/ca/{z}/{x}/{y}.png', options: { From c2bb9884e8894f44868353e7506d6593fd10f725 Mon Sep 17 00:00:00 2001 From: Joan Maspons Date: Thu, 4 Jul 2024 23:01:09 +0200 Subject: [PATCH 3/3] Attribution pointing to https://www.openstreetmap.cat --- leaflet-providers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leaflet-providers.js b/leaflet-providers.js index 33be9cf..c6941f3 100644 --- a/leaflet-providers.js +++ b/leaflet-providers.js @@ -124,7 +124,7 @@ CAT: { url: 'https://tile.openstreetmap.bzh/ca/{z}/{x}/{y}.png', options: { - attribution: '{attribution.OpenStreetMap}, Tiles courtesy of Breton OpenStreetMap Team', + attribution: '{attribution.OpenStreetMap}, Tiles courtesy of Breton OpenStreetMap Team', } } }