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

@@ -9,7 +9,8 @@ var map = new ol.Map({
layers: [
new ol.layer.Tile({
source: new ol.source.XYZ({
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'
})
})
],