districts

This commit is contained in:
Walter Hupfeld
2024-02-18 13:37:18 +01:00
parent 6cdad9be24
commit 46ad703473
66 changed files with 196 additions and 21 deletions

View File

@@ -84,6 +84,7 @@
<input type="hidden" id="lng" name="lng" value="0" />
<input type="hidden" id="lat" name="lat" value="0" />
<input type="hidden" id="district" name="district" value="<?=$strDistrict?>" />
<!-- Dateiupload ---------------------------------- -->

View File

@@ -11,7 +11,8 @@
require("../config.db.php");
function getAddress($lat,$lng) {
global $location_key;
$key = $location_key;
$url = "https://us1.locationiq.com/v1/reverse.php?key=".$key."&lat=".$lat."&lon=".$lng."&format=json";