Name: ';
foreach($aPointDetails['aNames'] as $sKey => $sValue)
@@ -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'])
@@ -97,9 +110,9 @@
echo '
'.$sValue.' ('.$sKey.')
';
}
echo '