Apparently 'final' is a reserved word in JS...
This commit is contained in:
parent
7c13b43f31
commit
149182f620
5 changed files with 8 additions and 8 deletions
|
@ -16,7 +16,7 @@ OSM.RoutingEngines.list.push({
|
|||
"TSHR": 4,
|
||||
"TU": 5
|
||||
}, // was half expecting to see TLDR in there
|
||||
getRoute: function(final,points) {
|
||||
getRoute: function(isFinal,points) {
|
||||
var url="http://routes.cloudmade.com/8ee2a50541944fb9bcedded5165f09d9/api/0.3/";
|
||||
var p=[];
|
||||
for (var i=0; i<points.length; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue