history routes work now (i hope)
This commit is contained in:
@@ -140,10 +140,10 @@ deleteMarker: function(marker_id) {
|
||||
|
||||
//click: checkbox "show previous routes"
|
||||
showPreviousRoutes: function(value) {
|
||||
// if( document.getElementById('option-show-previous-routes').checked == false)
|
||||
// OSRM.G.route.clearHistoryRoutes();
|
||||
// else
|
||||
// OSRM.G.route.storeHistoryRoute();
|
||||
if( document.getElementById('option-show-previous-routes').checked == false)
|
||||
OSRM.G.route.clearHistoryRoutes();
|
||||
else
|
||||
OSRM.G.route.storeHistoryRoute();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user