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

View File

@ -240,7 +240,7 @@ function computeViaRoute(pixel, isTemporary, skipViaPointsIndex) {
var coordinate = map.getLonLatFromPixel(pixel); var coordinate = map.getLonLatFromPixel(pixel);
var via = coordinate.transform(EPSG_900913, EPSG_4326); var via = coordinate.transform(EPSG_900913, EPSG_4326);
var viaNodeInserted = false; 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'; newURL += '&geomformat=cmp';
for(var i = 0; i < viaPointsVector.length; i++) { for(var i = 0; i < viaPointsVector.length; i++) {
if(i == nearestSegmentIndex) { //insert new via node here if(i == nearestSegmentIndex) { //insert new via node here

View File

@ -55,7 +55,7 @@ public:
std::string command; std::string command;
std::size_t firstAmpPosition = request.find_first_of("?"); std::size_t firstAmpPosition = request.find_first_of("?");
command = request.substr(1,firstAmpPosition-1); command = request.substr(1,firstAmpPosition-1);
DEBUG("[debug] looking for handler for command: " << command); // DEBUG("[debug] looking for handler for command: " << command);
try { try {
if(pluginMap.Holds(command)) { if(pluginMap.Holds(command)) {