From 1adf1525abe5350bfc837acb64363a8abd3339d6 Mon Sep 17 00:00:00 2001 From: danieldegroot2 <67521919+danieldegroot2@users.noreply.github.com> Date: Fri, 19 Dec 2025 14:19:49 +0100 Subject: [PATCH 1/3] Update fieldpapers.rb - Update OpenStreetMap provider --- config/initializers/fieldpapers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/fieldpapers.rb b/config/initializers/fieldpapers.rb index c313dd1..738cfe5 100644 --- a/config/initializers/fieldpapers.rb +++ b/config/initializers/fieldpapers.rb @@ -9,7 +9,7 @@ module FieldPapers PERSIST = ENV["PERSIST"] || "s3" OSM_BASE_URL = ENV["OSM_BASE_URL"] || "https://www.openstreetmap.org" ATLAS_COMPLETE_WEBHOOKS = ENV["ATLAS_COMPLETE_WEBHOOKS"] || "" - ATLAS_INDEX_HEADER_TILELAYER = ENV['ATLAS_INDEX_HEADER_TILELAYER'] || "https://{S}.tile.openstreetmap.org/{Z}/{X}/{Y}.png" + ATLAS_INDEX_HEADER_TILELAYER = ENV['ATLAS_INDEX_HEADER_TILELAYER'] || "https://tile.openstreetmap.org/{Z}/{X}/{Y}.png" if ENV["DEFAULT_CENTER"].present? DEFAULT_CENTER = ENV["DEFAULT_CENTER"] From 95c3aa9f606cff866ce176db017a757cf7715e22 Mon Sep 17 00:00:00 2001 From: danieldegroot2 <67521919+danieldegroot2@users.noreply.github.com> Date: Fri, 19 Dec 2025 14:20:45 +0100 Subject: [PATCH 2/3] Update README.md - Update OpenStreetMap provider --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 276d32b..3472742 100644 --- a/README.md +++ b/README.md @@ -277,7 +277,7 @@ they are available to the environment in which Rails is running. moves to the state 'complete', fp-web will `POST` the JSON representation of the atlas to each URL. * `ATLAS_INDEX_HEADER_TILELAYER` - A [Leaflet TileLayer urlTemplate](https://leafletjs.com/reference.html#tilelayer). Optional. - Providing this url will override the header basemaps for the atlas index pages. Defaults to `https://{S}.tile.openstreetmap.org/{Z}/{X}/{Y}.png` + Providing this url will override the header basemaps for the atlas index pages. Defaults to `https://tile.openstreetmap.org/{Z}/{X}/{Y}.png` * `DISABLE_LOGIN_CONFIRMATIONS` - A value of `true` will not require users to confirm their accounts after registration and will not send confirmation emails. Optional. Defaults to `false` -- registration confirmations are required From 7b1c22bba958e98aff2bcbf779e6e80d33d3f6f2 Mon Sep 17 00:00:00 2001 From: danieldegroot2 <67521919+danieldegroot2@users.noreply.github.com> Date: Fri, 19 Dec 2025 14:23:56 +0100 Subject: [PATCH 3/3] Update providers.json - Update OpenStreetMap provider --- config/providers.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/providers.json b/config/providers.json index f882b7e..79e6558 100644 --- a/config/providers.json +++ b/config/providers.json @@ -1,7 +1,7 @@ { "openstreetmap": { "label": "OpenStreetMap", - "template": "https://{S}.tile.openstreetmap.org/{Z}/{X}/{Y}.png", + "template": "https://tile.openstreetmap.org/{Z}/{X}/{Y}.png", "options": { "attribution": "© OpenStreetMap" },