diff options
Diffstat (limited to 'server.py')
| -rw-r--r-- | server.py | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -15,14 +15,6 @@ def index(): return read_html('templates/index.html') -@get('/show-area') -def show_area(): - rect = dict() - for (k, node) in enumerate(store.select_nodes_in_rectangle(nodes, 58.3984, 58.3990, 15.5733, 15.576)): - rect[node.id] = node.coord_tuple() - return json.dumps(rect) - - @post('/shortest-path') def shortest_path(body): body = json.loads(body) |
