diff options
| author | Gustav Sörnäs <gusso230@student.liu.se> | 2020-11-12 14:14:43 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gusso230@student.liu.se> | 2020-11-20 13:39:20 +0100 |
| commit | 1321b6c050405326a6476baf7d1e3a26b6a2274d (patch) | |
| tree | ea9d95d01f4d58d0829217e8aa3c66f000f3986c /templates/index.js | |
| parent | a178b3088fa8e90a080926c79d608497e4b56448 (diff) | |
| download | tdde25-1321b6c050405326a6476baf7d1e3a26b6a2274d.tar.gz | |
visualize minimal number of iterations per edge
Diffstat (limited to 'templates/index.js')
| -rw-r--r-- | templates/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.js b/templates/index.js index a7cfd90..f7550c0 100644 --- a/templates/index.js +++ b/templates/index.js @@ -30,7 +30,7 @@ async function postShortestPath(event){ res = await res.json() for (edge of res.edges) { - console.log(edge.path) + console.log(edge) L.polyline(edge.path, { color: edge.color }).addTo(map) |
