Elevation
class Elevation extends Api
Class Elevation
Constants
SERVICE_ENDPOINT |
|
Properties
protected GoogleMapsApi | $google_maps_api | from Api | |
protected string | $result_collection | ||
protected GoogleMapsResponse | $response | from Api | |
protected GoogleMapsRequest | $request | from Api |
Methods
createRequest(array $params, string|null $endpoint = null)
No description
from Api
string
parseLocations(array|string $locations)
No description
getBySampledPath(array|string $path, int $samples)
Sampled Path Requests
Details
in Api at line 57
__construct(array $config = [])
Api constructor.
in Api at line 69
protected array
getServiceConfig(array $config = [])
in Api at line 80
string
getServiceEndpoint()
in Api at line 92
GoogleMapsResultsCollection
callApi(array $params, string|null $endpoint = null)
in Api at line 106
GoogleMapsRequest
createRequest(array $params, string|null $endpoint = null)
in Api at line 117
GoogleMapsResultsCollection
getResultsCollections()
in Api at line 130
GoogleMapsResponse
getResponse()
in Api at line 141
GoogleMapsApi
getGoogleMapsApi()
in Api at line 152
Api
setGoogleMapsApi(GoogleMapsApi $google_maps_api)
in Api at line 163
GoogleMapsResultsCollection
getNextPage()
in Api at line 176
bool
responseHasNewPage()
at line 51
GoogleMapsResultsCollection
getByLocations(LatLng|string|array $locations)
Positional Requests
at line 68
string
parseLocations(array|string $locations)
at line 99
GoogleMapsResultsCollection
getBySampledPath(array|string $path, int $samples)
Sampled Path Requests