mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-03 21:48:03 +02:00
Merge branch 'master' of github.com:systemed/iD
This commit is contained in:
@@ -24,6 +24,7 @@ iD.BackgroundSource.template = function(template, subdomains, scaleExtent) {
|
||||
};
|
||||
|
||||
generator.scaleExtent = scaleExtent;
|
||||
generator.template = template;
|
||||
|
||||
return generator;
|
||||
};
|
||||
|
||||
@@ -125,7 +125,7 @@ iD.ui.layerswitcher = function(context) {
|
||||
var configured = d.source();
|
||||
if (!configured) return;
|
||||
d.source = configured;
|
||||
d.name = 'Custom (configured)';
|
||||
d.name = 'Custom (' + d.source.template + ')';
|
||||
}
|
||||
context.background().source(d.source);
|
||||
context.history().imagery_used(d.name);
|
||||
|
||||
Reference in New Issue
Block a user