From 18e535184e048f42ef183ca2780402ac58dc8864 Mon Sep 17 00:00:00 2001 From: Tobias Speicher Date: Thu, 29 Jan 2026 11:50:57 +0100 Subject: [PATCH] Use preferred tile.openstreetmap.org URL See https://github.com/openstreetmap/operations/issues/737 --- API.md | 2 +- data/imagery.json | 4 ++-- modules/ui/settings/custom_background.js | 2 +- modules/ui/settings/custom_data.js | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/API.md b/API.md index e471f4b7b7..8962157eed 100644 --- a/API.md +++ b/API.md @@ -19,7 +19,7 @@ in the hash portion of the URL: where the URL can contain the standard tile URL placeholders `{x}`, `{y}` and `{z}`/`{zoom}`, `{ty}` for flipped TMS-style Y coordinates, and `{switch:a,b,c}` for DNS multiplexing.
- _Example:_ `background=custom:https://{switch:a,b,c}.tile.openstreetmap.org/{zoom}/{x}/{y}.png` + _Example:_ `background=custom:https://tile.openstreetmap.org/{zoom}/{x}/{y}.png` * __`disable_features`__ - Disables features in the list.
_Example:_ `disable_features=water,service_roads,points,paths,boundaries`
_Available features:_ `points` `traffic_roads` `service_roads` `paths` `buildings` `landuse` diff --git a/data/imagery.json b/data/imagery.json index 9d5fedf0c9..a4065a981e 100644 --- a/data/imagery.json +++ b/data/imagery.json @@ -52049,7 +52049,7 @@ "id": "MAPNIK", "name": "OpenStreetMap (Standard)", "type": "tms", - "template": "https://{switch:a,b,c}.tile.openstreetmap.org/{zoom}/{x}/{y}.png", + "template": "https://tile.openstreetmap.org/{zoom}/{x}/{y}.png", "zoomExtent": [0, 19], "terms_url": "https://www.openstreetmap.org", "terms_text": "© OpenStreetMap contributors, CC-BY-SA", @@ -52061,7 +52061,7 @@ "id": "osm-gps", "name": "OpenStreetMap GPS traces", "type": "tms", - "template": "https://{switch:a,b,c}.gps-tile.openstreetmap.org/lines/{zoom}/{x}/{y}.png", + "template": "https://gps-tile.openstreetmap.org/lines/{zoom}/{x}/{y}.png", "zoomExtent": [0, 20], "terms_url": "https://www.openstreetmap.org/copyright", "terms_text": "© OpenStreetMap contributors", diff --git a/modules/ui/settings/custom_background.js b/modules/ui/settings/custom_background.js index 7af7365a5d..807f38de50 100644 --- a/modules/ui/settings/custom_background.js +++ b/modules/ui/settings/custom_background.js @@ -15,7 +15,7 @@ export function uiSettingsCustomBackground(context) { template: context.storage('background-custom-template') }; var _currSettings = _cloneDeep(_origSettings); - var example = 'https://{switch:a,b,c}.tile.openstreetmap.org/{zoom}/{x}/{y}.png'; + var example = 'https://tile.openstreetmap.org/{zoom}/{x}/{y}.png'; var modal = uiConfirm(selection).okButton(); modal diff --git a/modules/ui/settings/custom_data.js b/modules/ui/settings/custom_data.js index 0ba28175fb..069acf6c35 100644 --- a/modules/ui/settings/custom_data.js +++ b/modules/ui/settings/custom_data.js @@ -19,7 +19,7 @@ export function uiSettingsCustomData(context) { }; var _currSettings = _cloneDeep(_origSettings); - // var example = 'https://{switch:a,b,c}.tile.openstreetmap.org/{zoom}/{x}/{y}.png'; + // var example = 'https://tile.openstreetmap.org/{zoom}/{x}/{y}.png'; var modal = uiConfirm(selection).okButton(); modal