ol.source.Source#setLogo is not exported

This commit is contained in:
Éric Lemoine
2013-06-28 11:32:11 +02:00
parent 09a50ad442
commit 5d5a248344

View File

@@ -67,8 +67,8 @@ xhr.onload = function() {
// we need to set the URL because it must include the key.
sourceOptions.urls = [wmtsUrl];
sourceOptions.attributions = [attribution];
sourceOptions.logo = layerLogos[i];
source = new ol.source.WMTS(sourceOptions);
source.setLogo(layerLogos[i]);
layer = new ol.layer.TileLayer({source: source});
map.addLayer(layer);
}