$aPointDetails['aBoundingBox'][2],
$aPointDetails['aBoundingBox'][3]
);
-
- if (isset($aPointDetails['aPolyPoints']) && $bShowPolygons) {
- $aPlace['polygonpoints'] = $aPointDetails['aPolyPoints'];
- }
}
if (isset($aPointDetails['zoom'])) {
$aPlace['icon'] = $aPointDetails['icon'];
}
- if (isset($aPointDetails['address']) && !empty($aPointDetails['address'])) {
- $aPlace['address'] = $aPointDetails['address'];
+ if (isset($aPointDetails['address'])) {
+ $aPlace['address'] = $aPointDetails['address']->getAddressNames();
}
if (isset($aPointDetails['asgeojson'])) {