Avoid mixed content warnings for the MapQuest logo

This commit is contained in:
Tom Hughes 2015-02-16 21:48:08 +00:00
parent 098f8e98f2
commit 6e9a76e64d

View file

@ -28,7 +28,7 @@ function MapQuestEngine(id, vehicleParam) {
return {
id: id,
creditline: '<a href="http://www.mapquest.com/" target="_blank">MapQuest</a> <img src="http://developer.mapquest.com/content/osm/mq_logo.png">',
creditline: '<a href="http://www.mapquest.com/" target="_blank">MapQuest</a> <img src="' + document.location.protocol + '//developer.mapquest.com/content/osm/mq_logo.png">',
draggable: false,
getRoute: function (points, callback) {