Start MapQuest Open support
This commit is contained in:
parent
7834c628e9
commit
c4f3d1bd32
2 changed files with 37 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
// CloudMade foot engine
|
||||
// *** again, this should be shared from a Cloudmade library somewhere
|
||||
// *** this API key is taken from some example code, not for real live use!
|
||||
// http://cloudmade.com/documentation/routing
|
||||
|
||||
OSM.RoutingEngines.list.push({
|
||||
name: 'Foot (CloudMade)',
|
||||
|
@ -16,7 +17,7 @@ OSM.RoutingEngines.list.push({
|
|||
url+="/foot.js";
|
||||
this.requestJSONP(url+"?callback=");
|
||||
},
|
||||
gotRoute: function(data) {
|
||||
gotRoute: function(router,data) {
|
||||
console.log(data);
|
||||
// *** todo
|
||||
// *** will require some degree of refactoring because instruction text is pre-assembled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue