From 72d5b60500336f4f40fda20858ed88af079fc556 Mon Sep 17 00:00:00 2001 From: DennisSchiefer Date: Mon, 17 Sep 2012 15:26:46 +0100 Subject: [PATCH] added comment --- WebContent/routing/OSRM.RoutingAlternatives.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WebContent/routing/OSRM.RoutingAlternatives.js b/WebContent/routing/OSRM.RoutingAlternatives.js index 42234f071..e0c77dae6 100644 --- a/WebContent/routing/OSRM.RoutingAlternatives.js +++ b/WebContent/routing/OSRM.RoutingAlternatives.js @@ -37,8 +37,8 @@ init: function() { prepare: function(response) { // move best route to alternative array var the_response = OSRM.G.response; - the_response.route_name = the_response.route_name || []; - the_response.alternative_names = the_response.alternative_names || [ [] ]; + the_response.route_name = the_response.route_name || []; // delete when fully implemented in routing engine + the_response.alternative_names = the_response.alternative_names || [ [] ]; // delete when fully implemented in routing engine the_response.alternative_geometries.unshift( response.route_geometry ); the_response.alternative_instructions.unshift( response.route_instructions ); the_response.alternative_summaries.unshift( response.route_summary );