fixed bug with dragging via markers while an alternative is active
This commit is contained in:
parent
d1bc05fcae
commit
f27e05564d
@ -57,7 +57,7 @@ timeoutRoute_Reversed: function() {
|
|||||||
showRoute: function(response, parameters) {
|
showRoute: function(response, parameters) {
|
||||||
if(!response)
|
if(!response)
|
||||||
return;
|
return;
|
||||||
if( parameters.keepAlternative == false )
|
if( parameters.keepAlternative != true )
|
||||||
OSRM.G.active_alternative = 0;
|
OSRM.G.active_alternative = 0;
|
||||||
|
|
||||||
OSRM.G.response = response; // needed for printing & history routes!
|
OSRM.G.response = response; // needed for printing & history routes!
|
||||||
|
Loading…
Reference in New Issue
Block a user