always return bbox ccordinates as string

fixes https://trac.openstreetmap.org/ticket/5132
This commit is contained in:
Sarah Hoffmann
2014-03-02 17:52:09 +01:00
parent bd6366ea56
commit 236750eba4

View File

@@ -1581,7 +1581,7 @@
$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?