Forgot to remove debug output.

This commit is contained in:
DennisOSRM
2012-02-17 14:19:45 +01:00
parent b897b5d0e2
commit ae93423116
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ function computeViaRoute(pixel, isTemporary, skipViaPointsIndex) {
var coordinate = map.getLonLatFromPixel(pixel);
var via = coordinate.transform(EPSG_900913, EPSG_4326);
var viaNodeInserted = false;
var newURL = HOST_ROUTING_URL + "&start="+from.lat + ',' + from.lon + '&dest=' + to.lat + ',' + to.lon;
var newURL = HOST_ROUTING_URL + "?start="+from.lat + ',' + from.lon + '&dest=' + to.lat + ',' + to.lon;
newURL += '&geomformat=cmp';
for(var i = 0; i < viaPointsVector.length; i++) {
if(i == nearestSegmentIndex) { //insert new via node here