Documentation

Nominatim extends Base
in package

Nominatim driver class to get coordinates.

Table of Contents

$url  : string
API url.
__construct()  : mixed
Construct.
getCoordinates()  : bool|array<string|int, string>
Function to get coordinates from base information about address.
getCoordinatesByValue()  : bool|array<string|int, string>
Function to get coordinates from string.

Properties

$url

API url.

protected string $url

Methods

__construct()

Construct.

public __construct(array<string|int, mixed> $provider) : mixed
Parameters
$provider : array<string|int, mixed>
Return values
mixed

getCoordinates()

Function to get coordinates from base information about address.

public getCoordinates(array<string|int, mixed> $addressInfo) : bool|array<string|int, string>
Parameters
$addressInfo : array<string|int, mixed>
Return values
bool|array<string|int, string>

getCoordinatesByValue()

Function to get coordinates from string.

public getCoordinatesByValue(string $value) : bool|array<string|int, string>
Parameters
$value : string
Return values
bool|array<string|int, string>

        

Search results