From 909a08b2820969f81bf2db0f078cad078c25af79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=9F=E6=99=BA=E5=BC=BA?= Date: Mon, 4 Nov 2024 06:55:22 +0800 Subject: [PATCH] update the basic logic components --- public/pages/aed.ejs | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/public/pages/aed.ejs b/public/pages/aed.ejs index 713656b..a81d845 100644 --- a/public/pages/aed.ejs +++ b/public/pages/aed.ejs @@ -157,30 +157,29 @@ // Function to create carousel HTML function createCarouselHTML(images, aedId) { let html = ` - - `; return html; } @@ -233,7 +232,7 @@

`; } - popupContent += ' < /div>'; + // Create marker and popup const marker = L.marker([lat, lng]).addTo(map); const popup = L.popup({