X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/859347523fb2c7340b2df9980e52d5ea4543c82d..64ace51e02790bf88e162a15236c5ac2af865c5e:/lib/Geocode.php diff --git a/lib/Geocode.php b/lib/Geocode.php index 253b9798..0c93e0a9 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -903,9 +903,9 @@ class Geocode } // Is there an icon set for this type of result? - $sIcon = ClassTypes\getIcon($aResult); + $sIcon = ClassTypes\getIconFile($aResult); if (isset($sIcon)) { - $aResult['icon'] = CONST_Website_BaseURL.'images/mapicons/'.$sIcon.'.p.20.png'; + $aResult['icon'] = $sIcon; } $sLabel = ClassTypes\getLabel($aResult);