Use https://tile.openstreetmap.org without subdomains

Created on 31 January 2025, 4 days ago

Background

We are working on a module with the scope to facilitate OpenStreetMap contributions from within OpenCulturas . The distribution is using Leaflet (thanks!)

As part of that we presented the project in the (German-speaking part of the) OpenStreetMap forum. Subsequently we were contacted by the OSM Foundation with the kind request to no longer use deprecated URL schemes for tile requests.

Problem/Motivation

Leaflet is using a deprecated URL template: '//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'

See issue on GitHub: Use preferred tile.openstreetmap.org URL

TL;DR: use https://tile.openstreetmap.org, no subdomains, no short names.

Proposed resolution

Change template to: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png'

📌 Task
Status

Active

Version

10.2

Component

Code

Created by

🇩🇪Germany hexabinaer Berlin, Germany

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024