diff options
| author | Gustav Sörnäs <gusso230@student.liu.se> | 2020-11-20 12:35:26 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gusso230@student.liu.se> | 2020-11-20 12:36:50 +0100 |
| commit | 346cc00e17443b8f72f5f683ceb5f6f63837bdb3 (patch) | |
| tree | b94d28a7b15a9454ef9ba6989893ad18eb8c045d /templates/index.js | |
| parent | 10e3d6874745283b545d3b8029a3e5e184932c5d (diff) | |
| download | tdde25-346cc00e17443b8f72f5f683ceb5f6f63837bdb3.tar.gz | |
remove show-area
Diffstat (limited to 'templates/index.js')
| -rw-r--r-- | templates/index.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/templates/index.js b/templates/index.js index b7b3b58..dd39c12 100644 --- a/templates/index.js +++ b/templates/index.js @@ -51,13 +51,3 @@ function showMarker(){ } showMarker() - -async function showMarkers() { - res = await fetch('/show-area'); - res = await res.json(); - for (let key in res) { - var marker = L.marker(res[key]).addTo(map) - } -} - -showMarkers() |
