diff --git a/01/index.html b/01/index.html
index cea55b0..1782b23 100644
--- a/01/index.html
+++ b/01/index.html
@@ -3284,9 +3284,7 @@
0
0
- 0
- 0
- 0
+
@@ -3342,18 +3340,7 @@
Opsional
-
-
- SPBU Tambah titik SPBU
-
-
-
- Jalan Gambar ruas jalan
-
-
-
- Parsil / Lahan Gambar area persil
-
+
@@ -3553,11 +3540,7 @@
'KemiskinanData KK miskin': layers.kemiskinan,
'Rumah IbadahFasilitas ibadah': layers.masjid,
'Blank SpotDi luar radius rumah ibadah': layers.blankspot,
- 'SPBU 24 JamBuka 24 jam': layers.spbu24,
- 'SPBU Non-24Tidak 24 jam': layers.spbuNon24,
- 'JalanJaringan jalan': layers.jalan,
- 'Parsil / LahanData persil tanah': layers.parsil,
- }, { collapsed: false, position: 'topright' }).addTo(map);
+ }, { collapsed: false, position: 'topright' }).addTo(map);
decorateLayersControl();
function decorateLayersControl() {
const container = layersControl.getContainer();
@@ -3897,17 +3880,7 @@
const fWarga = state.kemiskinan.find(d => (`${d.nama_kk} ${d.alamat}`).toLowerCase().includes(q));
if (fWarga) return focusFeature('kemiskinan', fWarga.id);
- // 3. Cari SPBU
- const fSpbu = state.spbu.find(d => (d.nama || '').toLowerCase().includes(q));
- if (fSpbu) return focusFeature('spbu', fSpbu.id);
- // 4. Cari Jalan
- const fJalan = state.jalan.find(d => (d.nama || '').toLowerCase().includes(q));
- if (fJalan) return focusFeature('jalan', fJalan.id);
-
- // 5. Cari Parsil
- const fParsil = state.parsil.find(d => (`${d.nama} ${d.pemilik}`).toLowerCase().includes(q));
- if (fParsil) return focusFeature('parsil', fParsil.id);
// Jika tidak ketemu
alert('Data "' + q + '" tidak ditemukan.');
@@ -5290,9 +5263,7 @@
document.addEventListener("DOMContentLoaded", function () {
- loadSPBU();
- loadJalan();
- loadParsil();
+
// Kemiskinan butuh data Masjid untuk hitung Blank Spot (merah/hijau)
// Jadi pastikan loadMasjid selesai dulu baru loadKemiskinan
diff --git a/01/remove_features.js b/01/remove_features.js
new file mode 100644
index 0000000..1ddd96a
--- /dev/null
+++ b/01/remove_features.js
@@ -0,0 +1,28 @@
+const fs = require('fs');
+let content = fs.readFileSync('c:/laragon/www/webtugas/01/index.html', 'utf8');
+
+// Function to remove a block of text
+function removeBlock(regex) {
+ content = content.replace(regex, '');
+}
+
+// 1. Remove UI add buttons
+removeBlock(/[\s\S]*?<\/div>\s*
[\s\S]*?<\/div>\s*
[\s\S]*?<\/div>/);
+
+// 2. Remove list containers in sidebar
+removeBlock(/