Reverse geocode include geometry - added bounding box tests

This commit is contained in:
Marc Tobias Metten
2016-03-09 19:43:03 +01:00
parent 991bd0004a
commit 71b3aa9cca
6 changed files with 23 additions and 10 deletions

View File

@@ -1647,10 +1647,7 @@
$oPlaceLookup->setPolygonSimplificationThreshold($this->fPolygonSimplificationThreshold);
$aOutlineResult = $oPlaceLookup->getOutlines($aResult['place_id'], $aResult['lon'], $aResult['lat'], $fDiameter/2);
foreach($aOutlineResult as $k => $v)
{
$aResult[$k] = $v;
}
$aResult = array_merge($aResult, $aOutlineResult);
if ($aResult['extra_place'] == 'city')
{