X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/981649bf8366a2e67ee974816b9b0b288b259380..2767821cb0669a23cbd4835dd292c312f160edc0:/lib/template/details-html.php
diff --git a/lib/template/details-html.php b/lib/template/details-html.php
index e536e202..b89bf747 100644
--- a/lib/template/details-html.php
+++ b/lib/template/details-html.php
@@ -108,6 +108,7 @@ foreach($aPolyPoints as $aPolyPoint)
echo '
Type: '.$aPointDetails['class'].':'.$aPointDetails['type'].'
';
echo ' Admin Level: '.$aPointDetails['admin_level'].'
';
echo ' Rank: '.$aPointDetails['rank_search_label'].'
';
+ if ($aPointDetails['importance']) echo ' Importance: '.$aPointDetails['importance'].'
';
echo ' Coverage: '.($aPointDetails['isarea']=='t'?'Polygon':'Point').'
';
$sOSMType = ($aPointDetails['osm_type'] == 'N'?'node':($aPointDetails['osm_type'] == 'W'?'way':($aPointDetails['osm_type'] == 'R'?'relation':'')));
if ($sOSMType) echo ' ';