Show icons from the editor-layer-index, remove old Bing icon

This commit is contained in:
Bryan Housel
2017-06-16 12:04:54 -04:00
parent 87b17a2fbb
commit 8f6bd5fb14
7 changed files with 2022 additions and 1799 deletions

File diff suppressed because one or more lines are too long

View File

@@ -54,9 +54,6 @@ sources.concat(whitelist).forEach(function(source) {
template: source.url
};
var description = source.description;
if (description) im.description = description;
var extent = source.extent || {};
if (extent.min_zoom || extent.max_zoom) {
im.scaleExtent = [
@@ -92,7 +89,7 @@ sources.concat(whitelist).forEach(function(source) {
im.terms_html = attribution.html;
}
['default', 'overlay', 'best'].forEach(function(a) {
['best', 'default', 'description', 'icon', 'overlay'].forEach(function(a) {
if (source[a]) {
im[a] = source[a];
}