diff options
author | Markus Koch <markus@notsyncing.net> | 2020-04-19 23:29:16 +0200 |
---|---|---|
committer | Markus Koch <markus@notsyncing.net> | 2020-04-19 23:29:16 +0200 |
commit | b2958f15d7534e50c8ac457c2e67e29aba868264 (patch) | |
tree | e0271f8668df788f871a823043e9a737e74e8516 | |
parent | 9bac7e4678ef1d05e1d9fb4b24e79b05b70bae84 (diff) | |
download | lifomapserver-b2958f15d7534e50c8ac457c2e67e29aba868264.tar.gz lifomapserver-b2958f15d7534e50c8ac457c2e67e29aba868264.tar.bz2 lifomapserver-b2958f15d7534e50c8ac457c2e67e29aba868264.zip |
Remove debug code
-rw-r--r-- | htdocs/mapscript.js | 1 | ||||
-rw-r--r-- | htdocs/streeteditor.js | 2 |
2 files changed, 0 insertions, 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); } } |