Remove debug code
This commit is contained in:
parent
9bac7e4678
commit
b2958f15d7
@ -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) {
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user