]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/reverse.php
rebase
[nominatim.git] / website / reverse.php
index 6df90029052bdf6c00443384d6e55f93672da485..3ce7a20dd154513b43dab49835541d7e8e51b684 100755 (executable)
@@ -55,7 +55,9 @@ if (isset($aPlace)) {
         $aPlace['place_id'],
         $aPlace['lon'],
         $aPlace['lat'],
-        $fRadius
+        $fRadius,
+        $fLat,
+        $fLon
     );
 
     if ($aOutlineResult) {
@@ -76,6 +78,4 @@ if ($sOutputFormat == 'html') {
     $sTileURL = CONST_Map_Tile_URL;
     $sTileAttribution = CONST_Map_Tile_Attribution;
 }
-
-$sOutputTemplate = ($sOutputFormat=='jsonv2' ? 'json' : $sOutputFormat);
-include(CONST_BasePath.'/lib/template/address-'.$sOutputTemplate.'.php');
+include(CONST_BasePath.'/lib/template/address-'.$sOutputFormat.'.php');