'.$sOSMType.' '.($sRefText?$sRefText:$aFeature['osm_id']).'';
}
return '';
}
function wikipediaLink($aFeature)
{
if ($aFeature['wikipedia']) {
list($sLanguage, $sArticle) = explode(':',$aFeature['wikipedia']);
return ''.$aFeature['wikipedia'].'';
}
return '';
}
function detailsLink($aFeature, $sTitle=false)
{
if (!$aFeature['place_id']) return '';
return ''.($sTitle?$sTitle:$aFeature['place_id']).'';
}