3namespace Bitrix\Location\Source\Google\Converters;
5use Bitrix\Location\Entity\Address;
6use Bitrix\Location\Entity\Location;
7use Bitrix\Location\Entity\Generic\Collection;
8use Bitrix\Location\Exception\RuntimeException;
9use Bitrix\Location\Source\Google;
24 if(isset(
$data[
'status']) &&
$data[
'status'] !=
'OK')
30 if(!isset(
$data[
'results']) || !is_array(
$data[
'results']))
37 foreach(
$data[
'results'] as $item)
39 if(isset($item[
'types']))
50 ->setExternalId($item[
'place_id'])
51 ->setName($item[
'name'])
52 ->setLongitude($item[
'geometry'][
'location'][
'lng'])
53 ->setLatitude($item[
'geometry'][
'location'][
'lat'])
55 ->setLanguageId($this->languageId);
convertTypes(array $types, string $typesClass)
const CONVERTER_BYQUERY_ERROR
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
while($arParentIBlockProperty=$dbParentIBlockProperty->Fetch()) $errorMessage