 }, // layout
          "paint": {
            "line-color": "rgba(255, 0, 255, 0.4)",
            "line-width": 8
          } // paint
        }, routeAfter); // addLayer
        var time = json.paths[0].details.time;
        var name = json.paths[0].details.street_name;
        //alert("time" + JSON.stringify(json.paths[0].details.time));
        //alert("street_name" + JSON.stringify(json.paths[0].details.street_name));
        var instr = "";
        var min;
        var sek;
        var len;
        va