diff --git a/WebContent/OSRM.Geocoder.js b/WebContent/OSRM.Geocoder.js index 6896d702c..47f18e00d 100644 --- a/WebContent/OSRM.Geocoder.js +++ b/WebContent/OSRM.Geocoder.js @@ -200,7 +200,7 @@ _showReverseResults_Timeout: function(response, parameters) { if(!parameters.do_fallback) return; - updateLocation(parameters.marker_id); + OSRM.Geocoder.updateLocation(parameters.marker_id); } }; \ No newline at end of file diff --git a/WebContent/routing/OSRM.Routing.js b/WebContent/routing/OSRM.Routing.js index 2796d187d..b7283054b 100644 --- a/WebContent/routing/OSRM.Routing.js +++ b/WebContent/routing/OSRM.Routing.js @@ -72,6 +72,7 @@ showRoute: function(response) { return; OSRM.G.via_points = response.via_points.slice(0); + console.log(OSRM.G.via_points); if(response.status == 207) { OSRM.RoutingGeometry.showNA(); OSRM.RoutingNoNames.showNA();