mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 05:30:35 +02:00
Ignore errors from Bing ImageryProviders
This commit is contained in:
@@ -228,6 +228,7 @@ rendererBackgroundSource.Bing = function(data, dispatch) {
|
||||
var providers = [];
|
||||
|
||||
d3_json(url, function(err, json) {
|
||||
if (err) return;
|
||||
providers = json.resourceSets[0].resources[0].imageryProviders.map(function(provider) {
|
||||
return {
|
||||
attribution: provider.attribution,
|
||||
|
||||
Reference in New Issue
Block a user