fixed bug with route reversal

This commit is contained in:
DennisSchiefer 2012-07-05 14:08:12 +01:00
parent 517f321ccc
commit 8323ce78e3

View File

@ -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 )