Avoid protocol relative URLs
These fail to load in contexts where the "file protocol" is used (e.g. PhantomJS).
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user