X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/e02c9b6e69eac1493316dbc69c7e94720c1217a8..aade8c75cb6036c85f4df36c810fbbcc07f43907:/lib/template/details-html.php?ds=sidebyside
diff --git a/lib/template/details-html.php b/lib/template/details-html.php
index e7328b3a..83df4814 100644
--- a/lib/template/details-html.php
+++ b/lib/template/details-html.php
@@ -9,7 +9,7 @@
@@ -68,7 +80,7 @@
echo '
';
if ($aPointDetails['icon'])
{
- echo '';
+ echo '';
}
echo $aPointDetails['localname'].'
';
echo '';
@@ -79,10 +91,12 @@
}
echo '
';
echo ' Type: '.$aPointDetails['class'].':'.$aPointDetails['type'].'
';
+ 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'])