X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/2338d04e9f0cd8f0ca294a1f6664d641d1522b25..f9ee4e3bd3d88bfc7317fe8b96c32cd12aaa34b1:/website/reverse.php diff --git a/website/reverse.php b/website/reverse.php index abc33a09..e2dfaef8 100755 --- a/website/reverse.php +++ b/website/reverse.php @@ -23,7 +23,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']; } @@ -76,4 +76,6 @@ exit; } + $sTileURL = CONST_Map_Tile_URL; + $sTileAttribution = CONST_Map_Tile_Attribution; include(CONST_BasePath.'/lib/template/address-'.$sOutputFormat.'.php');