Documentation

Geocode
in package

Table of Contents

$response  : array<string|int, mixed>
$osmHTTPContext  : mixed
$osmURL  : string
$userAgent  : string
__construct()  : mixed
lookup()  : mixed

Properties

$response

public array<string|int, mixed> $response

$osmHTTPContext

private mixed $osmHTTPContext

$osmURL

private string $osmURL = 'https://nominatim.openstreetmap.org/?format=json&addressdetails=1&format=json&limit=1&q='

$userAgent

private string $userAgent = 'geheimgeheimgeheim 3.7.6'

Methods

__construct()

public __construct([string $searchString = null ]) : mixed
Parameters
$searchString : string = null
Return values
mixed

lookup()

public lookup(mixed $searchString) : mixed
Parameters
$searchString : mixed
Return values
mixed

Search results