X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/859347523fb2c7340b2df9980e52d5ea4543c82d..613586920758da1b36fad0629203e01057a36b7b:/lib/Geocode.php?ds=sidebyside diff --git a/lib/Geocode.php b/lib/Geocode.php index 253b9798..3d6838b6 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -18,7 +18,7 @@ class Geocode protected $aLangPrefOrder = array(); protected $aExcludePlaceIDs = array(); - protected $bReverseInPlan = false; + protected $bReverseInPlan = true; protected $iLimit = 20; protected $iFinalLimit = 10; @@ -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);