Use jsonp for MapQuest as CORS doesn't seem to be working
This commit is contained in:
parent
38213ab588
commit
31c80f6646
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue