]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/directions/mapzen.js
Don't pass the locale to the Mapzen routing engine
[rails.git] / app / assets / javascripts / index / directions / mapzen.js
index 348cb99c99c58367b7611f3b4b318ec5c02f5afe..1b775ba5106ffec7760c207e19261243ad719b11 100644 (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"
             }
           })
         },