From 8323ce78e30e69326fc751945fca57b5f4b9783a Mon Sep 17 00:00:00 2001 From: DennisSchiefer Date: Thu, 5 Jul 2012 14:08:12 +0100 Subject: [PATCH] fixed bug with route reversal --- WebContent/routing/OSRM.Routing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebContent/routing/OSRM.Routing.js b/WebContent/routing/OSRM.Routing.js index 843dc3ddf..c32f4c91f 100644 --- a/WebContent/routing/OSRM.Routing.js +++ b/WebContent/routing/OSRM.Routing.js @@ -138,7 +138,7 @@ getRoute_Reversed: function() { OSRM.JSONP.clear('dragging'); OSRM.JSONP.clear('redraw'); OSRM.JSONP.clear('route'); - OSRM.JSONP.call(OSRM.Routing._buildCall()+'&instructions=true', OSRM.Routing.showRoute, OSRM.Routing.timeoutRoute_Reversed, OSRM.DEFAULTS.JSONP_TIMEOUT, 'route'); + OSRM.JSONP.call(OSRM.Routing._buildCall()+'&instructions=true', OSRM.Routing.showRoute, OSRM.Routing.timeoutRoute_Reversed, OSRM.DEFAULTS.JSONP_TIMEOUT, 'route', {}); }, getRoute_Redraw: function(parameters) { if( OSRM.G.markers.route.length < 2 )