edit files

This commit is contained in:
2026-06-12 18:29:40 +07:00
parent 15419e3c64
commit 873a805ede
4 changed files with 25 additions and 4 deletions
+2 -2
View File
@@ -148,7 +148,7 @@ map.on('click', function(e) {
const lat = e.latlng.lat;
const lng = e.latlng.lng;
const form =
const form = `
<form id="formInput">
Nama SPBU:<br>
<input type="text" name="nama_spbu" required><br>
@@ -167,7 +167,7 @@ map.on('click', function(e) {
<button type="submit">Simpan</button>
</form>
;
`;
L.popup().setLatLng(e.latlng).setContent(form).openOn(map);