X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/72fc234c502703a7acc64f2e6760fe2667a289ed..aade8c75cb6036c85f4df36c810fbbcc07f43907:/lib/template/details-html.php?ds=inline
diff --git a/lib/template/details-html.php b/lib/template/details-html.php
index 4cacb307..83df4814 100644
--- a/lib/template/details-html.php
+++ b/lib/template/details-html.php
@@ -9,7 +9,7 @@
@@ -68,7 +80,7 @@
echo '
';
@@ -82,8 +94,9 @@
echo '
Last Updated: '.$aPointDetails['indexed_date'].'
';
echo '
Admin Level: '.$aPointDetails['admin_level'].'
';
echo '
Rank: '.$aPointDetails['rank_search_label'].'
';
- if ($aPointDetails['importance']) echo '
Importance: '.$aPointDetails['importance'].'
';
+ if ($aPointDetails['calculated_importance']) echo '
Importance: '.$aPointDetails['calculated_importance'].($aPointDetails['importance']?'':' (estimated)').'
';
echo '
Coverage: '.($aPointDetails['isarea']=='t'?'Polygon':'Point').'
';
+ echo '
Centre Point: '.$aPointDetails['lat'].','.$aPointDetails['lon'].'
';
$sOSMType = ($aPointDetails['osm_type'] == 'N'?'node':($aPointDetails['osm_type'] == 'W'?'way':($aPointDetails['osm_type'] == 'R'?'relation':'')));
if ($sOSMType) echo '
';
if ($aPointDetails['wikipedia'])