districts
This commit is contained in:
@@ -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 ---------------------------------- -->
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user