Use https for overpass-api.de

This commit is contained in:
Tim Schaub
2016-10-16 00:53:03 -06:00
parent c016a497c3
commit 0925538525

View File

@@ -81,7 +81,7 @@ var vectorSource = new ol.source.Vector({
url: function(extent, resolution, projection) {
var epsg4326Extent =
ol.proj.transformExtent(extent, projection, 'EPSG:4326');
return 'http://overpass-api.de/api/xapi?map?bbox=' +
return 'https://overpass-api.de/api/xapi?map?bbox=' +
epsg4326Extent.join(',');
},
strategy: ol.loadingstrategy.tile(ol.tilegrid.createXYZ({