Skip to content

Commit 391eb60

Browse files
Use preferred tile.openstreetmap.org URL (#124)
1 parent f3a6e6c commit 391eb60

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ they are available to the environment in which Rails is running.
277277
moves to the state 'complete', fp-web will `POST` the JSON representation
278278
of the atlas to each URL.
279279
* `ATLAS_INDEX_HEADER_TILELAYER` - A [Leaflet TileLayer urlTemplate](https://leafletjs.com/reference.html#tilelayer). Optional.
280-
Providing this url will override the header basemaps for the atlas index pages. Defaults to `https://{S}.tile.openstreetmap.org/{Z}/{X}/{Y}.png`
280+
Providing this url will override the header basemaps for the atlas index pages. Defaults to `https://tile.openstreetmap.org/{Z}/{X}/{Y}.png`
281281
* `DISABLE_LOGIN_CONFIRMATIONS` - A value of `true` will not require
282282
users to confirm their accounts after registration and will not send confirmation emails.
283283
Optional. Defaults to `false` -- registration confirmations are required

config/initializers/fieldpapers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module FieldPapers
99
PERSIST = ENV["PERSIST"] || "s3"
1010
OSM_BASE_URL = ENV["OSM_BASE_URL"] || "https://www.openstreetmap.org"
1111
ATLAS_COMPLETE_WEBHOOKS = ENV["ATLAS_COMPLETE_WEBHOOKS"] || ""
12-
ATLAS_INDEX_HEADER_TILELAYER = ENV['ATLAS_INDEX_HEADER_TILELAYER'] || "https://{S}.tile.openstreetmap.org/{Z}/{X}/{Y}.png"
12+
ATLAS_INDEX_HEADER_TILELAYER = ENV['ATLAS_INDEX_HEADER_TILELAYER'] || "https://tile.openstreetmap.org/{Z}/{X}/{Y}.png"
1313

1414
if ENV["DEFAULT_CENTER"].present?
1515
DEFAULT_CENTER = ENV["DEFAULT_CENTER"]

config/providers.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"openstreetmap": {
33
"label": "OpenStreetMap",
4-
"template": "https://{S}.tile.openstreetmap.org/{Z}/{X}/{Y}.png",
4+
"template": "https://tile.openstreetmap.org/{Z}/{X}/{Y}.png",
55
"options": {
66
"attribution": "<a href='https://openstreetmap.org/copyright' target='_blank'>© OpenStreetMap</a>"
77
},

0 commit comments

Comments
 (0)