add DigitalGlobe Recent Imagery layer

This commit is contained in:
Norbert Renner 2016-09-22 19:13:48 +02:00
parent a9f2b0cb18
commit d53fb7723f
2 changed files with 14 additions and 1 deletions

View file

@ -84,6 +84,16 @@ BR.Map = {
baseLayers['Bing Aerial'] = new BR.BingLayer(BR.keys.bing);
}
if (BR.keys.digitalGlobe) {
var recent = new L.tileLayer('https://{s}.tiles.mapbox.com/v4/digitalglobe.nal0g75k/{z}/{x}/{y}.png?access_token=' + BR.keys.digitalGlobe, {
minZoom: 1,
maxZoom: 19,
attribution: '&copy; <a href="https://www.digitalglobe.com/platforms/mapsapi">DigitalGlobe</a> ('
+ '<a href="http://bit.ly/mapsapiview">Terms of Use</a>)'
});
baseLayers['DigitalGlobe Recent Imagery'] = recent;
}
if (BR.conf.clearBaseLayers) {
baseLayers = {};
}