From c10b0ce60064fbd198a061098b33c70b3c23366b Mon Sep 17 00:00:00 2001 From: Lorenzo Pini Date: Fri, 17 Feb 2017 15:53:18 +0100 Subject: [PATCH] Use correct osm tiles endpoint (#1487) --- web/client/components/map/leaflet/plugins/OSMLayer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/client/components/map/leaflet/plugins/OSMLayer.js b/web/client/components/map/leaflet/plugins/OSMLayer.js index 446ea15a4b..25ba21decc 100644 --- a/web/client/components/map/leaflet/plugins/OSMLayer.js +++ b/web/client/components/map/leaflet/plugins/OSMLayer.js @@ -10,7 +10,7 @@ var Layers = require('../../../../utils/leaflet/Layers'); var L = require('leaflet'); Layers.registerType('osm', (options) => { - return L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', { + return L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { attribution: '© OpenStreetMap contributors', zoomOffset: options.zoomOffset || 0 });