diff --git a/_legacy/index.html b/_legacy/index.html index 027dc0d..a886f10 100644 --- a/_legacy/index.html +++ b/_legacy/index.html @@ -1,9 +1,10 @@ +
-- Sistem Informasi Geografis untuk pemetaan rumah ibadah dan + Sistem Informasi Geografis untuk pemetaan rumah ibadah dan analisis sebaran keluarga kurang mampu.
@@ -99,7 +116,7 @@ let val = 0; const bar = document.getElementById('redirectProgress'); const tick = setInterval(() => { - val += 100 / 50; + val += 100 / 50; bar.value = val; if (val >= 100) clearInterval(tick); }, 100); @@ -133,7 +150,7 @@ fetch('api/get_miskin.php').then(r => r.json()) ]).then(([ibadah, miskin]) => { const markers = []; - + ibadah.forEach(item => { L.circleMarker([+item.latitude, +item.longitude], { radius: 7, fillColor: "#22c55e", color: "#fff", weight: 2, opacity: 1, fillOpacity: 0.8 @@ -151,14 +168,15 @@ if (markers.length) { map.fitBounds(markers, { padding: [50, 50] }); } - + // Subtle animation: slow pan let lat = map.getCenter().lat; setInterval(() => { lat += 0.000005; map.panTo([lat, map.getCenter().lng], { animate: true, duration: 1 }); }, 1000); - }).catch(() => {}); + }).catch(() => { }); - + +