]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-jsonv2.php
Gives preference to special terms like postcode and housenumber
[nominatim.git] / lib / template / search-jsonv2.php
index 35538797184808477ae7b96d9f33e7a69bac66bd..d550a7e6706d19d6ea09f97031703b503657f089 100644 (file)
@@ -19,7 +19,7 @@ foreach($aSearchResults as $iResNum => $aPointDetails)
     {
         $aPlace['boundingbox'] = $aPointDetails['aBoundingBox'];
 
-        if (isset($aPointDetails['aPolyPoints']) && $bShowPolygons)
+        if (isset($aPointDetails['aPolyPoints']))
         {
             $aPlace['polygonpoints'] = $aPointDetails['aPolyPoints'];
         }