Use protocol relative URL in ol.source.Stamen

This commit is contained in:
Tom Payne
2014-02-13 13:47:27 +01:00
parent bb7a1c11f6
commit 02b4e7cced

View File

@@ -94,7 +94,7 @@ ol.source.Stamen = function(options) {
var layerConfig = ol.source.StamenLayerConfig[options.layer];
var url = goog.isDef(options.url) ? options.url :
'http://{a-d}.tile.stamen.com/' + options.layer + '/{z}/{x}/{y}.' +
'//{a-d}.tile.stamen.com/' + options.layer + '/{z}/{x}/{y}.' +
layerConfig.extension;
goog.base(this, {