$oPlaceLookup = new Nominatim\PlaceLookup($oDB);
$oPlaceLookup->loadParamArray($oParams);
if ($sOutputFormat == 'geocodejson') {
- $oPlaceLookup->setAddressDetails(true);
+ $oPlaceLookup->setIncludeAddressDetails(true);
$oPlaceLookup->setAddressAdminLevels(true);
}
$aPlace['place_id'],
$aPlace['lon'],
$aPlace['lat'],
- $fRadius
+ $fRadius,
+ $fLat,
+ $fLon
);
if ($aOutlineResult) {
$aPlace = array();
}
+logEnd($oDB, $hLog, sizeof($aPlace)?1:0);
if (CONST_Debug) {
var_dump($aPlace);