Adapt sources to new signature for ol.Attribution

This commit is contained in:
Éric Lemoine
2013-08-30 16:47:42 +02:00
parent 818894bb56
commit 38ab64c3c3
5 changed files with 34 additions and 23 deletions

View File

@@ -131,7 +131,7 @@ ol.source.BingMaps.prototype.handleImageryMetadataResponse =
}
}
});
return new ol.Attribution(html, tileRanges);
return new ol.Attribution({html: html, tileRanges: tileRanges});
});
this.setAttributions(attributions);