X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/9f7844ec7a8fe4426eb8a34165158ca6712760e3..ec4cf9efd0b6e0d60cbe9674016a0519918324e2:/lib/template/details-error-html.php diff --git a/lib/template/details-error-html.php b/lib/template/details-error-html.php index b93d6495..5f075b93 100644 --- a/lib/template/details-error-html.php +++ b/lib/template/details-error-html.php @@ -148,18 +148,35 @@ $sVal = $aPointDetails['errormessage']; $sOSMType = ($aPointDetails['osm_type'] == 'N'?'node':($aPointDetails['osm_type'] == 'W'?'way':($aPointDetails['osm_type'] == 'R'?'relation':''))); $sOSMID = $aPointDetails['osm_id']; +$bHaveLatLng = false; if (preg_match('/Self-intersection\\[([0-9.\\-]+) ([0-9.\\-]+)\\]/',$sVal,$aMatch)) { $sLat = $aMatch[2]; $sLon = $aMatch[1]; + $bHaveLatLng = true; echo "".($sVal?$sVal:' ').""; } else { echo ($sVal?$sVal:' '); } +?> +
Edit: in Remote Controll (JOSM / Merkaartor)"; + echo " | Potlatch 2"; +} +else +{ + echo " Remote Controll (JOSM / Merkaartor)"; + // Should be better to load by object id - but this doesn't seem to zoom correctly + //echo " Remote Controll (JOSM / Merkaartor)"; +} ?>