diff --git a/js/Map.js b/js/Map.js
index a33de18..79248cf 100644
--- a/js/Map.js
+++ b/js/Map.js
@@ -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: '© DigitalGlobe ('
+ + 'Terms of Use)'
+ });
+ baseLayers['DigitalGlobe Recent Imagery'] = recent;
+ }
+
if (BR.conf.clearBaseLayers) {
baseLayers = {};
}
diff --git a/keys.js.template b/keys.js.template
index e3b9a11..96b7a82 100644
--- a/keys.js.template
+++ b/keys.js.template
@@ -4,7 +4,10 @@
BR.keys = {
// Bing maps, http://www.microsoft.com/maps/default.aspx
- bing: ''
+ bing: '',
+
+ // DigitalGlobe, https://developer.digitalglobe.com/maps-api/#plans
+ digitalGlobe: ''
};
})();