prevent bug when first route yields a timeout
This commit is contained in:
parent
6186f3f27e
commit
2ee7ea87cd
@ -33,6 +33,7 @@ OSRM.Routing = {
|
|||||||
init: function() {
|
init: function() {
|
||||||
OSRM.G.markers = new OSRM.Markers();
|
OSRM.G.markers = new OSRM.Markers();
|
||||||
OSRM.G.route = new OSRM.Route();
|
OSRM.G.route = new OSRM.Route();
|
||||||
|
OSRM.G.response = { via_points:[] };
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user