summaryrefslogtreecommitdiff
path: root/htdocs/streeteditor.js
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs/streeteditor.js')
-rw-r--r--htdocs/streeteditor.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/htdocs/streeteditor.js b/htdocs/streeteditor.js
index 76d5732..6c20e23 100644
--- a/htdocs/streeteditor.js
+++ b/htdocs/streeteditor.js
@@ -10,12 +10,6 @@ if (editor_mode) {
var edit_active = 0;
- function resolve_latlng(latlng, recenter = 0) {
- latlng.lng = Math.round(latlng.lng);
- latlng.lat = Math.round(latlng.lat);
- return latlng;
- }
-
function start_editing(dir = 1) {
// TODO: Check whether we already are in edit mode
// TODO: Detect whether we are cloner to the tail or the head, and issue Fwd or Bwd accordingly