Don't pass the locale to the Mapzen routing engine
It only supports en-US currently, and passing anything else now makes it error instead of falling back to en-US.
This commit is contained in:
parent
16f5a5ac0c
commit
38180c56c9
1 changed files with 1 additions and 2 deletions
|
@ -46,8 +46,7 @@ function MapzenEngine(id, costing) {
|
|||
locations: points.map(function (p) { return { lat: p.lat, lon: p.lng }; }),
|
||||
costing: costing,
|
||||
directions_options: {
|
||||
units: "km",
|
||||
language: I18n.currentLocale()
|
||||
units: "km"
|
||||
}
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue