Pass on routing failures from MapQuest
This commit is contained in:
parent
2f0794738c
commit
15904542a6
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ MapQuestEngine.prototype.createConfig = function() {
|
|||
this.requestCORS(url);
|
||||
},
|
||||
gotRoute: function(router,data) {
|
||||
// *** what if no route?
|
||||
if (data.info.statuscode!=0) return false;
|
||||
|
||||
var poly=[];
|
||||
var shape=data.route.shape.shapePoints;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue