SrtmAdapter
Table of Contents
-
$httpClient
: Client
-
__construct()
: mixed
-
elevation()
: array<string|int, int>
-
checkCoordinatesRestriction()
: void
$httpClient
private
Client
$httpClient
__construct()
public
__construct(string $url) : mixed
Parameters
-
$url
: string
-
Return values
mixed
—
elevation()
public
elevation(array<string|int, Point> $points) : array<string|int, int>
Parameters
-
$points
: array<string|int, Point>
-
-
throws
-
RuntimeException
Return values
array<string|int, int>
—
checkCoordinatesRestriction()
private
checkCoordinatesRestriction(int|float $lon, int|float $lat) : void
Parameters
-
$lon
: int|float
-
-
$lat
: int|float
-
Return values
void
—