diff --git a/js/id/renderer/background_source.js b/js/id/renderer/background_source.js index d0408557c..cfed23294 100644 --- a/js/id/renderer/background_source.js +++ b/js/id/renderer/background_source.js @@ -45,3 +45,7 @@ iD.BackgroundSource.Tiger2012 = iD.BackgroundSource.template( iD.BackgroundSource.OSM = iD.BackgroundSource.template( 'http://{t}.tile.openstreetmap.org/{z}/{x}/{y}.png', ['a', 'b', 'c'], [0, 18]); + +iD.BackgroundSource.MapBox = iD.BackgroundSource.template( + 'http://{t}.tiles.mapbox.com/v3/openstreetmap.map-4wvf9l0l/{z}/{x}/{y}.jpg70', + ['a', 'b', 'c'], [0, 16]); diff --git a/js/id/ui/layerswitcher.js b/js/id/ui/layerswitcher.js index f79ab169c..bd4479c01 100644 --- a/js/id/ui/layerswitcher.js +++ b/js/id/ui/layerswitcher.js @@ -12,6 +12,10 @@ iD.layerswitcher = function(map) { name: 'OSM', source: iD.BackgroundSource.OSM, description: 'The default OpenStreetMap layer.' + }, { + name: 'MapBox', + source: iD.BackgroundSource.MapBox, + description: 'Satellite and Aerial Imagery' }, { name: 'Custom', source: iD.BackgroundSource.Custom,