Revert "Don't pass the locale to the Mapzen routing engine"

This reverts commit 38180c56c9.
This commit is contained in:
Tom Hughes 2016-07-26 18:36:56 +01:00
parent 026c153e59
commit 24ddb8657d

View file

@ -46,7 +46,8 @@ function MapzenEngine(id, costing) {
locations: points.map(function (p) { return { lat: p.lat, lon: p.lng }; }),
costing: costing,
directions_options: {
units: "km"
units: "km",
language: I18n.currentLocale()
}
})
},