forked from hans/Nominatim
return place_id link to details when not an OSM object
Stop-gap solution to find the right object for Tiger and interpolation objects.
This commit is contained in:
@@ -48,5 +48,5 @@ function detailsPermaLink($aFeature, $sRefText = false)
|
||||
$sLabel = $sRefText ? $sRefText : $sOSMType.' '.$aFeature['osm_id'];
|
||||
return '<a href="details.php?osmtype='.$aFeature['osm_type'].'&osmid='.$aFeature['osm_id'].'&class='.$aFeature['class'].'">'.$sLabel.'</a>';
|
||||
}
|
||||
return '';
|
||||
return detailsLink($aFeature, $sRefText);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user