diff --git a/build/leafdoc-templates/html.hbs b/build/leafdoc-templates/html.hbs index a4d1d5ec..77ebfb9e 100644 --- a/build/leafdoc-templates/html.hbs +++ b/build/leafdoc-templates/html.hbs @@ -142,7 +142,7 @@
diff --git a/debug/hacks/jitter.html b/debug/hacks/jitter.html index 09be27de..14858f81 100644 --- a/debug/hacks/jitter.html +++ b/debug/hacks/jitter.html @@ -24,8 +24,8 @@ @@ -105,7 +105,7 @@ {{ content }} diff --git a/docs/_posts/2013-02-20-guest-post-draw.md b/docs/_posts/2013-02-20-guest-post-draw.md index 9a058781..5d5fef3d 100644 --- a/docs/_posts/2013-02-20-guest-post-draw.md +++ b/docs/_posts/2013-02-20-guest-post-draw.md @@ -41,8 +41,8 @@ Leaflet.draw is very simple to drop into you Leaflet application. The following var map = L.map('map').setView([175.30867, -37.77914], 13); // add an OpenStreetMap tile layer - L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', { - attribution: '© OpenStreetMap contributors' + L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { + attribution: '© OpenStreetMap contributors' }).addTo(map); // Initialize the FeatureGroup to store editable layers @@ -116,8 +116,8 @@ Jacob Toye var map = L.map('map').setView([-37.77914, 175.30867], 16); // add an OpenStreetMap tile layer - L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', { - attribution: '© OpenStreetMap contributors' + L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { + attribution: '© OpenStreetMap contributors' }).addTo(map); // Initialize the FeatureGroup to store editable layers diff --git a/docs/edit.html b/docs/edit.html index c22586c1..17e9118d 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('//{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); diff --git a/docs/examples/custom-icons/example-one-icon.md b/docs/examples/custom-icons/example-one-icon.md index 137d1f5d..b5f909ec 100644 --- a/docs/examples/custom-icons/example-one-icon.md +++ b/docs/examples/custom-icons/example-one-icon.md @@ -5,8 +5,8 @@ title: Custom Icons Tutorial