Fix eslint warnings
This commit is contained in:
parent
2898633e72
commit
7986576b0e
1 changed files with 7 additions and 7 deletions
|
@ -23,13 +23,13 @@ function GraphHopperEngine(id, vehicleType) {
|
|||
return $.ajax({
|
||||
url: OSM.GRAPHHOPPER_URL,
|
||||
data: {
|
||||
"vehicle": vehicleType,
|
||||
"locale": I18n.currentLocale(),
|
||||
"key": "LijBPDQGfu7Iiq80w3HzwB4RUDJbMbhs6BU0dEnn",
|
||||
"elevation": false,
|
||||
"instructions": true,
|
||||
"turn_costs": true,
|
||||
"point": points.map(function (p) { return p.lat + "," + p.lng; })
|
||||
vehicle: vehicleType,
|
||||
locale: I18n.currentLocale(),
|
||||
key: "LijBPDQGfu7Iiq80w3HzwB4RUDJbMbhs6BU0dEnn",
|
||||
elevation: false,
|
||||
instructions: true,
|
||||
turn_costs: true,
|
||||
point: points.map(function (p) { return p.lat + "," + p.lng; })
|
||||
},
|
||||
traditional: true,
|
||||
dataType: "json",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue