]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/Geocode.php
always return bbox ccordinates as string
[nominatim.git] / lib / Geocode.php
index 132be9a54aa54602135d63d2a723fbf63d4f4526..9b7b9d6c596d620e539b6dfbf323b8ca6a5bf32f 100644 (file)
                                                        $aResult['aPolyPoints'][] = array($aPoint[1], $aPoint[2]);
                                                }
                                        }
-                                       $aResult['aBoundingBox'] = array($aPointPolygon['minlat'],$aPointPolygon['maxlat'],$aPointPolygon['minlon'],$aPointPolygon['maxlon']);
+                                       $aResult['aBoundingBox'] = array((string)$aPointPolygon['minlat'],(string)$aPointPolygon['maxlat'],(string)$aPointPolygon['minlon'],(string)$aPointPolygon['maxlon']);
                                }
 
                                // Is there an icon set for this type of result?