]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/directions/mapquest.js
Scale total distance to metres for Mapzen
[rails.git] / app / assets / javascripts / index / directions / mapquest.js
index 2210664888e94b8062a9fe280322c9123f47754f..24be65de770024bfce445eef2d5486f33f44b527 100644 (file)
@@ -48,7 +48,7 @@ function MapQuestEngine(id, routeType) {
           generalize: 0,
           unit: "k"
         },
-        dataType: "json",
+        dataType: "jsonp",
         success: function (data) {
           if (data.info.statuscode !== 0)
             return callback(true);