Avoid protocol relative URLs

These fail to load in contexts where the "file protocol" is used (e.g. PhantomJS).
This commit is contained in:
Tim Schaub
2015-04-17 09:02:30 -06:00
parent bba326fdf4
commit 0dfc2ce44f
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ ol.source.MapQuest = function(opt_options) {
goog.base(this, {
attributions: layerConfig.attributions,
crossOrigin: 'anonymous',
logo: '//developer.mapquest.com/content/osm/mq_logo.png',
logo: 'https://developer.mapquest.com/content/osm/mq_logo.png',
maxZoom: layerConfig.maxZoom,
opaque: true,
tileLoadFunction: options.tileLoadFunction,