mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-31 01:09:22 +02:00
Show icons from the editor-layer-index, remove old Bing icon
This commit is contained in:
3658
data/imagery.json
3658
data/imagery.json
File diff suppressed because one or more lines are too long
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user