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:
Tom Hughes 2016-03-15 10:03:18 +00:00
parent 16f5a5ac0c
commit 38180c56c9

View file

@ -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"
}
})
},