Use API key for Thunderforest resources

This commit is contained in:
Andreas Hocevar
2017-01-06 15:07:58 +01:00
parent 23960d086d
commit 5236665718
8 changed files with 20 additions and 4 deletions

View File

@@ -14,7 +14,8 @@ var overviewMapControl = new ol.control.OverviewMap({
layers: [
new ol.layer.Tile({
source: new ol.source.OSM({
'url': 'https://{a-c}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png'
'url': 'https://{a-c}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png' +
'?apikey=0e6fc415256d4fbb9b5166a718591d71'
})
})
],