X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/5b767a2cc8cbec9df0743d8bb959456fa24a2380..21c590416854b1245866b96772fde61050c0e01a:/website/reverse.php diff --git a/website/reverse.php b/website/reverse.php index ee2fa475..d1603fa1 100755 --- a/website/reverse.php +++ b/website/reverse.php @@ -11,7 +11,7 @@ // Format for output $sOutputFormat = 'xml'; - if (isset($_GET['format']) && ($_GET['format'] == 'xml' || $_GET['format'] == 'json' || $_GET['format'] == 'jsonv2')) + if (isset($_GET['format']) && ( $_GET['format'] == 'html' || $_GET['format'] == 'xml' || $_GET['format'] == 'json' || $_GET['format'] == 'jsonv2')) { $sOutputFormat = $_GET['format']; } @@ -65,4 +65,6 @@ exit; } + $sTileURL = CONST_Map_Tile_URL; + $sTileAttribution = CONST_Map_Tile_Attribution; include(CONST_BasePath.'/lib/template/address-'.$sOutputFormat.'.php');