Skip to content

Commit

Permalink
Use correct osm tiles endpoint (#1487)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnafu authored and mbarto committed Feb 17, 2017
1 parent 7f13a44 commit c10b0ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/client/components/map/leaflet/plugins/OSMLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors',
zoomOffset: options.zoomOffset || 0
});
Expand Down

0 comments on commit c10b0ce

Please sign in to comment.