diff --git a/js/id/id.js b/js/id/id.js
index 8ee5a0e4a..ee8775b56 100644
--- a/js/id/id.js
+++ b/js/id/id.js
@@ -217,7 +217,7 @@ window.iD = function(container) {
.attr('class','pad1 fillD about-block link-list')
.html("
view code " +
"report a bug" +
- " imagery provided by bing");
+ " imagery provided by bing");
var contributors = about.append('div')
.attr('id', 'user-list')
diff --git a/js/id/ui/layerswitcher.js b/js/id/ui/layerswitcher.js
index fd0a78485..832ea15f4 100644
--- a/js/id/ui/layerswitcher.js
+++ b/js/id/ui/layerswitcher.js
@@ -3,7 +3,8 @@ iD.layerswitcher = function(map) {
sources = [{
name: 'Bing',
source: iD.BackgroundSource.Bing,
- description: 'Satellite imagery.'
+ description: 'Satellite imagery.',
+ link: 'http://opengeodata.org/microsoft-imagery-details'
}, {
name: 'TIGER 2012',
source: iD.BackgroundSource.Tiger2012,
@@ -11,11 +12,13 @@ iD.layerswitcher = function(map) {
}, {
name: 'OSM',
source: iD.BackgroundSource.OSM,
- description: 'The default OpenStreetMap layer.'
+ description: 'The default OpenStreetMap layer.',
+ link: 'http://www.openstreetmap.org/'
}, {
name: 'MapBox',
source: iD.BackgroundSource.MapBox,
- description: 'Satellite and Aerial Imagery'
+ description: 'Satellite and Aerial Imagery',
+ link: 'http://mapbox.com'
}, {
name: 'Custom',
source: iD.BackgroundSource.Custom,
@@ -92,6 +95,9 @@ iD.layerswitcher = function(map) {
.classed('selected', function(d) {
return d.source === map.background.source();
});
+ d3.select('#attribution a')
+ .attr('href', d.link)
+ .text('provided by ' + d.name);
}
content