}
}
- $aPlace['addresstype'] = ClassTypes\getProperty(
+ $aPlace['addresstype'] = ClassTypes\getLabelTag(
$aPlace,
- 'simplelabel',
- $aPlace['class']
+ $aPlace['country_code']
);
+
+ $aResults[$aPlace['place_id']] = $aPlace;
}
- Debug::printVar('Places', $aPlaces);
+ Debug::printVar('Places', $aResults);
- return $aPlaces;
+ return $aResults;
}
/* returns an array which will contain the keys