also return bbox ccordinates as string for nodes

fixes https://trac.openstreetmap.org/ticket/5132 again
This commit is contained in:
Sarah Hoffmann 2015-06-12 23:26:38 +02:00
parent 80df4d3b56
commit 1fcb712f00

View File

@ -1692,7 +1692,7 @@
$aPointPolygon['minlon'] = $aPointPolygon['minlon'] - $fRadius;
$aPointPolygon['maxlon'] = $aPointPolygon['maxlon'] + $fRadius;
}
$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']);
}
}