]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-jsonv2.php
hide address parts that are linked place nodes
[nominatim.git] / lib / template / search-jsonv2.php
index 66098d303e69272826030bee08a0f6b30a47156d..773cfd96679dd7b27d88f368930a599753485033 100644 (file)
 
                if (isset($aPointDetails['aBoundingBox']))
                {
-                       $aPlace['boundingbox'] = array(
-                               $aPointDetails['aBoundingBox'][0],
-                               $aPointDetails['aBoundingBox'][1],
-                               $aPointDetails['aBoundingBox'][2],
-                               $aPointDetails['aBoundingBox'][3]);
+                       $aPlace['boundingbox'] = $aPointDetails['aBoundingBox'];
 
                        if (isset($aPointDetails['aPolyPoints']) && $bShowPolygons)
                        {