Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
bycoordsrequester.php
1
<?php
2
3
namespace
Bitrix\Location\Source\Google\Requesters
;
4
10
final
class
ByCoordsRequester
extends
BaseRequester
11
{
12
protected
$url
=
'https://maps.googleapis.com/maps/api/place/geocode/json'
;
13
protected
$requiredFields
= [
'latlng'
,
'language'
,
'key'
];
14
15
protected
function
makeUrl
(array $data): string
16
{
17
return
parent::makeUrl($data).
'&location_type=ROOFTOP'
;
18
}
19
}
Bitrix\Location\Source\Google\Requesters\BaseRequester
Definition
baserequester.php:19
Bitrix\Location\Source\Google\Requesters\ByCoordsRequester
Definition
bycoordsrequester.php:11
Bitrix\Location\Source\Google\Requesters\ByCoordsRequester\makeUrl
makeUrl(array $data)
Definition
bycoordsrequester.php:15
Bitrix\Location\Source\Google\Requesters\ByCoordsRequester\$requiredFields
$requiredFields
Definition
bycoordsrequester.php:13
Bitrix\Location\Source\Google\Requesters\ByCoordsRequester\$url
$url
Definition
bycoordsrequester.php:12
Bitrix\Location\Source\Google\Requesters
Definition
autocompleterequester.php:3
modules
location
lib
source
google
requesters
bycoordsrequester.php
Создано системой
1.10.0