From 44e39a89e87aaba49ecc867f061538241f4fad61 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Fri, 16 Jun 2017 01:55:03 -0400 Subject: [PATCH] Move descriptions upstream to editor-layer-index --- data/update_imagery.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/data/update_imagery.js b/data/update_imagery.js index 2967a5ce4..702273dc8 100644 --- a/data/update_imagery.js +++ b/data/update_imagery.js @@ -36,11 +36,6 @@ var whitelist = [ // Add custom sources here if needed. ]; -var descriptions = { - 'Bing': 'Satellite and aerial imagery.', - 'Mapbox': 'Satellite and aerial imagery.', - 'MAPNIK': 'The default OpenStreetMap layer.' -}; sources.concat(whitelist).forEach(function(source) { if (source.type !== 'tms' && source.type !== 'bing') return; @@ -59,7 +54,7 @@ sources.concat(whitelist).forEach(function(source) { template: source.url }; - var description = source.description || descriptions[im.id]; + var description = source.description; if (description) im.description = description; var extent = source.extent || {};