mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-18 22:48:10 +02:00
Select first available imagery layer
This commit is contained in:
committed by
John Firebaugh
parent
dd0e08b244
commit
90b0f1c5bf
@@ -240,7 +240,7 @@ iD.Background = function(context) {
|
||||
if (chosen && chosen.indexOf('custom:') === 0) {
|
||||
background.baseLayerSource(iD.BackgroundSource.Custom(chosen.replace(/^custom:/, '')));
|
||||
} else {
|
||||
background.baseLayerSource(findSource(chosen) || findSource('Bing'));
|
||||
background.baseLayerSource(findSource(chosen) || findSource('Bing') || backgroundSources[1]);
|
||||
}
|
||||
|
||||
var locator = _.find(backgroundSources, function(d) {
|
||||
|
||||
Reference in New Issue
Block a user