summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/index.js10
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()