GoogleMapsApi
class GoogleMapsApi
Class GoogleMapsApi
Properties
static protected GoogleMapsApi | $instance | ||
protected GoogleMapsRequest | $request |
Methods
__construct(array $config = [])
GoogleMapsApi constructor.
string
getApiUrl()
No description
GoogleMapsResponse|string
string
getUrl()
No description
string
getServiceEndpoint()
No description
setServiceEndpoint(string $service_endpoint)
No description
string
getQuery()
No description
string
getKey()
No description
setKey(string $key)
No description
string
getSensor()
No description
setSensor(bool|string $sensor)
Set sensor parameter
getRequest()
No description
getClient()
No description
setType(string $type)
No description
Details
at line 83
__construct(array $config = [])
GoogleMapsApi constructor.
at line 105
string
getApiUrl()
at line 118
GoogleMapsResponse|string
get(GoogleMapsRequest $request)
Perform the Google Maps API call
at line 136
string
getUrl()
at line 159
string
getServiceEndpoint()
at line 170
GoogleMapsApi
setServiceEndpoint(string $service_endpoint)
at line 181
string
getQuery()
at line 200
string
getKey()
at line 211
GoogleMapsApi
setKey(string $key)
at line 222
string
getSensor()
at line 235
GoogleMapsApi
setSensor(bool|string $sensor)
Set sensor parameter