summaryrefslogtreecommitdiff
path: root/htdocs
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs')
-rw-r--r--htdocs/mapscript.js1
-rw-r--r--htdocs/streeteditor.js2
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);
}
}