Merge branch 'v0.6-fixes'
This commit is contained in:
commit
0eba7f40be
4 changed files with 12 additions and 4 deletions
|
|
@ -1,6 +1,10 @@
|
||||||
BRouter-Web Changelog
|
BRouter-Web Changelog
|
||||||
=====================
|
=====================
|
||||||
|
|
||||||
|
## 0.6.2 (2017-03-14)
|
||||||
|
|
||||||
|
* Fix "API Key Required" in OpenCycleMap & Outdoors by registering for Thunderforest "Hobby Project" plan
|
||||||
|
|
||||||
## 0.6.1 (2016-12-12)
|
## 0.6.1 (2016-12-12)
|
||||||
|
|
||||||
* Add Esri World Imagery layer (DigitalGlobe is now also blocked because monthly usage limit is exceeded)
|
* Add Esri World Imagery layer (DigitalGlobe is now also blocked because monthly usage limit is exceeded)
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
<body class="flexcolumn">
|
<body class="flexcolumn">
|
||||||
<nav class="navbar navbar-full navbar-dark bg-inverse">
|
<nav class="navbar navbar-full navbar-dark bg-inverse">
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
<a class="navbar-brand" href="#" data-toggle="modal" data-target="#about">BRouter-Web <sup class="version">0.6.1</sup></a>
|
<a class="navbar-brand" href="#" data-toggle="modal" data-target="#about">BRouter-Web <sup class="version">0.6.2</sup></a>
|
||||||
<button class="navbar-toggler hidden-md-up" type="button" data-toggle="collapse" data-target="#collapsingNavbar" aria-controls="collapsingNavbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler hidden-md-up" type="button" data-toggle="collapse" data-target="#collapsingNavbar" aria-controls="collapsingNavbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
<span class="fa fa-bars"></span>
|
<span class="fa fa-bars"></span>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
||||||
|
|
@ -24,11 +24,12 @@ BR.Map = {
|
||||||
|
|
||||||
var thunderforestAttribution = 'tiles © <a target="_blank" href="http://www.thunderforest.com">Thunderforest</a> '
|
var thunderforestAttribution = 'tiles © <a target="_blank" href="http://www.thunderforest.com">Thunderforest</a> '
|
||||||
+ '(<a target="_blank" href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA 2.0</a>)';
|
+ '(<a target="_blank" href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA 2.0</a>)';
|
||||||
var cycle = L.tileLayer('http://{s}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png', {
|
var thunderforestAuth = BR.keys.thunderforest ? '?apikey=' + BR.keys.thunderforest : '';
|
||||||
|
var cycle = L.tileLayer('http://{s}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png' + thunderforestAuth, {
|
||||||
maxNativeZoom: 18,
|
maxNativeZoom: 18,
|
||||||
maxZoom: maxZoom
|
maxZoom: maxZoom
|
||||||
});
|
});
|
||||||
var outdoors = L.tileLayer('http://{s}.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png', {
|
var outdoors = L.tileLayer('http://{s}.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png' + thunderforestAuth, {
|
||||||
maxNativeZoom: 18,
|
maxNativeZoom: 18,
|
||||||
maxZoom: maxZoom
|
maxZoom: maxZoom
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,10 @@
|
||||||
bing: '',
|
bing: '',
|
||||||
|
|
||||||
// DigitalGlobe, https://developer.digitalglobe.com/maps-api/#plans
|
// DigitalGlobe, https://developer.digitalglobe.com/maps-api/#plans
|
||||||
digitalGlobe: ''
|
digitalGlobe: '',
|
||||||
|
|
||||||
|
// Thunderforest, http://thunderforest.com/pricing/
|
||||||
|
thunderforest: ''
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
})();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue