Add shortcut to create no-go areas

Press 'N' to initiate drawing a no-go area. 'Escape' will cancel,
similar to how drawing a route works.
This commit is contained in:
Henrik Fehlauer 2020-06-04 18:00:00 +00:00
parent 2848e4dd36
commit a852acbfce
2 changed files with 42 additions and 13 deletions

View file

@ -114,9 +114,9 @@
"loading": "Loading…",
"locate-me": "Show me where I am (L key)",
"nogo": {
"cancel": "Cancel drawing no-go area",
"cancel": "Cancel drawing no-go area (ESC key)",
"click-drag": "Click and drag to draw circle",
"draw": "Draw no-go area (circle)",
"draw": "Draw circular no-go area (N key)",
"edit": "Click to edit",
"help": "&square; = move / resize, <span class=\"fa fa-trash-o\"></span> = delete,<br>click circle to quit editing"
},