update links to OSM objects

/browse/ is no longer necesary in the URL
This commit is contained in:
Sarah Hoffmann
2016-06-12 09:26:58 +02:00
parent 76b9eb8098
commit 6fef943e49
5 changed files with 7 additions and 7 deletions

View File

@@ -111,7 +111,7 @@ table td {
break;
case 'id':
$sOSMType = ($aRow['type'] == 'N'?'node':($aRow['type'] == 'W'?'way':($aRow['type'] == 'R'?'relation':'')));
echo '<td><a href="http://www.openstreetmap.org/browse/'.$sOSMType.'/'.$aRow['id'].'" target="_new">'.$aRow['id'].'</a></td>';
echo '<td><a href="http://www.openstreetmap.org/'.$sOSMType.'/'.$aRow['id'].'" target="_new">'.$aRow['id'].'</a></td>';
break;
default:
echo "<td>".($sVal?$sVal:'&nbsp;')."</td>";