]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-batch-json.php
avoid accessing constants when getting data from env
[nominatim.git] / lib / template / search-batch-json.php
index 40b27a72e9dc9b607f4de61756b9bc335c6ce7e3..c4bc29cb1df4c0d8160003a698c46340cc2020a2 100644 (file)
@@ -25,10 +25,6 @@ foreach ($aBatchResults as $aSearchResults) {
                                       $aPointDetails['aBoundingBox'][2],
                 $aPointDetails['aBoundingBox'][3]
                                      );
-
-            if (isset($aPointDetails['aPolyPoints']) && $bShowPolygons) {
-                $aPlace['polygonpoints'] = $aPointDetails['aPolyPoints'];
-            }
         }
 
         if (isset($aPointDetails['zoom'])) {