Forgot to remove debug output.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user