From ace6be64274b0e78a458a7d1c5ee54d6101b7e8c Mon Sep 17 00:00:00 2001 From: danieldegroot2 <67521919+danieldegroot2@users.noreply.github.com> Date: Fri, 18 Feb 2022 05:42:21 +0100 Subject: [PATCH] Change OpenStreetMap links to HTTPS (#8009) * Change OpenStreetMap links to HTTPS * Change OpenStreetMap links to HTTPS * Change OpenStreetMap links to HTTPS --- FAQ.md | 4 ++-- debug/map/tile-debug.html | 2 +- docs/edit.html | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/FAQ.md b/FAQ.md index 6c0b2b15013..3ef6ce4ff43 100644 --- a/FAQ.md +++ b/FAQ.md @@ -13,7 +13,7 @@ This is a collection of answers to the most frequently asked questions about Lea #### The map is wrong in my neighborhood, could you fix it? Nope, but you can. -The map you see on Leaflet examples is based on [OpenStreetMap](http://openstreetmap.org), +The map you see on Leaflet examples is based on [OpenStreetMap](https://www.openstreetmap.org/), a free editable map of the world. Signing up and editing the map there is easy, and the changes will be reflected on the map in a few minutes. @@ -22,7 +22,7 @@ and the changes will be reflected on the map in a few minutes. Leaflet is provider-agnostic, meaning you can use any map provider as long as you conform to its terms of use. You can roll your own tiles as well. -[OpenStreetMap](http://openstreetmap.org) is the most popular data source among different tile providers, +[OpenStreetMap](https://www.openstreetmap.org/) is the most popular data source among different tile providers, but there are providers that use other sources. Check out [this example](http://leaflet-extras.github.io/leaflet-providers/preview/) diff --git a/debug/map/tile-debug.html b/debug/map/tile-debug.html index 179cd7076b0..4d4ec0f352f 100644 --- a/debug/map/tile-debug.html +++ b/debug/map/tile-debug.html @@ -156,7 +156,7 @@ resetCounter(); var positron = L.tileLayer('http://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png', { - attribution: '© OpenStreetMap contributors, © CartoDB' + attribution: '© OpenStreetMap contributors, © CartoDB' }); var grid = L.gridLayer({ diff --git a/docs/edit.html b/docs/edit.html index e50d7568d4c..15bb8fa0ea6 100644 --- a/docs/edit.html +++ b/docs/edit.html @@ -15,7 +15,7 @@ cssFile: 'https://unpkg.com/leaflet/dist/leaflet.css', css: 'body {\n\tmargin: 0;\n}\nhtml, body, #leaflet {\n\theight: 100%\n}', jsFile: 'https://unpkg.com/leaflet/dist/leaflet-src.js', - js: "var map = new L.Map('leaflet', {\n\tlayers: [\n\t\tnew L.TileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {\n\t\t\t'attribution': 'Map data © OpenStreetMap contributors'\n\t\t})\n\t],\n\tcenter: [0, 0],\n\tzoom: 0\n});" + js: "var map = new L.Map('leaflet', {\n\tlayers: [\n\t\tnew L.TileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {\n\t\t\t'attribution': 'Map data © OpenStreetMap contributors'\n\t\t})\n\t],\n\tcenter: [0, 0],\n\tzoom: 0\n});" }; var hash = location.hash.substr(1); @@ -107,4 +107,4 @@ - \ No newline at end of file +