Remove debug code

This commit is contained in:
Markus Koch 2020-04-19 23:29:16 +02:00
parent 9bac7e4678
commit b2958f15d7
2 changed files with 0 additions and 3 deletions

View File

@ -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) {

View File

@ -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);
}
}