From 2ee7ea87cd2ff80cf3a13089575f8b0fc52c656f Mon Sep 17 00:00:00 2001 From: DennisSchiefer Date: Tue, 15 May 2012 10:42:05 +0100 Subject: [PATCH] prevent bug when first route yields a timeout --- WebContent/routing/OSRM.Routing.js | 1 + 1 file changed, 1 insertion(+) diff --git a/WebContent/routing/OSRM.Routing.js b/WebContent/routing/OSRM.Routing.js index 9c3bd8ff8..bb5c69ea2 100644 --- a/WebContent/routing/OSRM.Routing.js +++ b/WebContent/routing/OSRM.Routing.js @@ -33,6 +33,7 @@ OSRM.Routing = { init: function() { OSRM.G.markers = new OSRM.Markers(); OSRM.G.route = new OSRM.Route(); + OSRM.G.response = { via_points:[] }; },