diff options
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() |
