Use jsonp for MapQuest as CORS doesn't seem to be working

This commit is contained in:
Tom Hughes 2015-09-28 14:47:32 +01:00
parent 38213ab588
commit 31c80f6646

View file

@ -48,7 +48,7 @@ function MapQuestEngine(id, routeType) {
generalize: 0,
unit: "k"
},
dataType: "json",
dataType: "jsonp",
success: function (data) {
if (data.info.statuscode !== 0)
return callback(true);