jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332016 )

Change subject: Fix openstreetmap tiles url
......................................................................


Fix openstreetmap tiles url

Allow use http and https protocols

Change-Id: I76cf8562ffc16894777286682e36b63ef530e3c8
---
M services/Leaflet/ext.leaflet.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Pastakhov: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/services/Leaflet/ext.leaflet.js b/services/Leaflet/ext.leaflet.js
index 8d80495..37e6c91 100644
--- a/services/Leaflet/ext.leaflet.js
+++ b/services/Leaflet/ext.leaflet.js
@@ -140,7 +140,7 @@
                map = L.map(element, mapOptions).fitWorld();
 
                // add an OpenStreetMap tile layer
-               L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
+               L.tileLayer('//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
                        attribution: '&copy; <a 
href="http://osm.org/copyright";>OpenStreetMap</a> contributors'
                }).addTo(map);
 

-- 
To view, visit https://gerrit.wikimedia.org/r/332016
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I76cf8562ffc16894777286682e36b63ef530e3c8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MultiMaps
Gerrit-Branch: master
Gerrit-Owner: Pastakhov <pastak...@yandex.ru>
Gerrit-Reviewer: Pastakhov <pastak...@yandex.ru>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to