fixed bug with route reversal
This commit is contained in:
parent
517f321ccc
commit
8323ce78e3
@ -138,7 +138,7 @@ getRoute_Reversed: function() {
|
|||||||
OSRM.JSONP.clear('dragging');
|
OSRM.JSONP.clear('dragging');
|
||||||
OSRM.JSONP.clear('redraw');
|
OSRM.JSONP.clear('redraw');
|
||||||
OSRM.JSONP.clear('route');
|
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) {
|
getRoute_Redraw: function(parameters) {
|
||||||
if( OSRM.G.markers.route.length < 2 )
|
if( OSRM.G.markers.route.length < 2 )
|
||||||
|
Loading…
Reference in New Issue
Block a user