history routes work now (i hope)

This commit is contained in:
DennisSchiefer
2012-05-11 16:25:06 +01:00
parent e7b3590352
commit 14ca66459a
3 changed files with 26 additions and 13 deletions
+2 -2
View File
@@ -65,7 +65,7 @@ showRouteSimple: function(response) {
} else {
OSRM.RoutingGeometry.show(response);
OSRM.RoutingDescription.showSimple(response);
// OSRM.G.route.storeHistoryRoute();
OSRM.G.route.storeHistoryRoute();
}
OSRM.Routing._updateHints(response);
@@ -88,7 +88,7 @@ showRoute: function(response) {
OSRM.RoutingNoNames.show(response);
OSRM.RoutingDescription.show(response);
OSRM.Routing._snapRoute();
// OSRM.G.route.storeHistoryRoute();
OSRM.G.route.storeHistoryRoute();
}
OSRM.Routing._updateHints(response);
},