AirLay backend

Rosreestr
in package
implements SearchEngine

Interfaces, Classes, Traits and Enums

SearchEngine

Table of Contents

$adapter  : NspdAdapter
$requestDelay  : int
__construct()  : mixed
findAddressByCoordinates()  : Address|null
geocode()  : array<string|int, float>
normalizeValue()  : string
reverseGeocode()  : string|null

Properties

$requestDelay read-only

private int $requestDelay

Methods

__construct()

public __construct(int $requestDelay, NspdAdapter $adapter) : mixed
Parameters
$requestDelay : int
$adapter : NspdAdapter
Return values
mixed

findAddressByCoordinates()

public findAddressByCoordinates(float|int $lat, float|int $lon) : Address|null
Parameters
$lat : float|int
$lon : float|int
Return values
Address|null

geocode()

public geocode(string $value) : array<string|int, float>
Parameters
$value : string
Tags
throws
RuntimeException|InvalidArgumentException
Return values
array<string|int, float>

normalizeValue()

public normalizeValue(string $value) : string
Parameters
$value : string
Return values
string

reverseGeocode()

public reverseGeocode(float|int $lat, float|int $lon) : string|null
Parameters
$lat : float|int
$lon : float|int
Return values
string|null

Search results