menambahkan jalan dan parsil di portal

This commit is contained in:
z0rayy
2026-06-11 00:38:46 +07:00
parent 4928f53982
commit b027f02cf0
5 changed files with 627 additions and 8 deletions
+4
View File
@@ -86,6 +86,10 @@ const LocateControl = L.Control.extend({
container.onclick = function(e) {
e.stopPropagation();
if (!window.isSecureContext) {
showToast('Fitur lokasi hanya tersedia melalui HTTPS.', 'error');
return;
}
showToast('Mencari lokasi...', 'success');
map.locate({ setView: true, maxZoom: 17, enableHighAccuracy: true });
}