".$sTitle."\n"; } function osm_link($aFeature) { $sOSMType = ($aFeature['osm_type'] == 'N'?'node':($aFeature['osm_type'] == 'W'?'way':($aFeature['osm_type'] == 'R'?'relation':''))); if ($sOSMType) { return ''.$sOSMType.' '.$aFeature['osm_id'].''; } return ''; } function wikipedia_link($aFeature) { if ($aFeature['wikipedia']) { list($sWikipediaLanguage,$sWikipediaArticle) = explode(':',$aFeature['wikipedia']); return ''.$aFeature['wikipedia'].''; } return ''; } function nominatim_link($aFeature, $sTitle) { return ''.$sTitle.''; } function format_distance($fDistance) { return'~'.(round($fDistance,1)).' km'; } function kv($sKey,$sValue) { echo '
'.$sKey.' | '.$sValue.' |
Local name | Type | OSM | Admin level | Distance |
There are more child objects which are not shown.
'; } } // headline('Other Parts'); // headline('Linked To'); ?>