edit file
This commit is contained in:
+2
-2
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user