From b2958f15d7534e50c8ac457c2e67e29aba868264 Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Sun, 19 Apr 2020 23:29:16 +0200 Subject: Remove debug code --- htdocs/mapscript.js | 1 - htdocs/streeteditor.js | 2 -- 2 files changed, 3 deletions(-) diff --git a/htdocs/mapscript.js b/htdocs/mapscript.js index 5ae09a2..1887c2a 100644 --- a/htdocs/mapscript.js +++ b/htdocs/mapscript.js @@ -240,7 +240,6 @@ function polyline_get_middle_coords(coords) { return ret; } -var regex; var highlighted_line; var default_street_color = "#3388ff"; function search(e) { diff --git a/htdocs/streeteditor.js b/htdocs/streeteditor.js index 340a10a..6cc8e18 100644 --- a/htdocs/streeteditor.js +++ b/htdocs/streeteditor.js @@ -77,9 +77,7 @@ if (editor_mode) { // polyline.on('dragend', onDragEnd); // TODO: Doesn't work, see "workaround" below polyline.enableEdit(); if (interactive) { - console.log(coords); latlng = L.latLng(polyline_get_middle_coords(coords)); - console.log("NEW=" + latlng); jump_to(latlng, 8); } } -- cgit v1.2.3