Skip to content

Commit

Permalink
Merge pull request #841 from elemoine/fix-ign-example
Browse files Browse the repository at this point in the history
Fix wmts-ign example when hosted (take 2)
  • Loading branch information
Éric Lemoine committed Jun 28, 2013
2 parents 09a50ad + 5d5a248 commit e29d0aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/wmts-ign.js
Expand Up @@ -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);
}
Expand Down

0 comments on commit e29d0aa

Please sign in to comment.