PromiseToFetchGoogleDirections
Summary
A promise to fetch directions from the Google Directions API.
Constructor
aeris.directions.promise.PromiseToFetchGoogleDirections
Syntax
aeris.directions.promise.PromiseToFetchGoogleDirections
()
Summary
Item Index
Methods
getDistanceFromResponse_
Syntax
getDistanceFromResponse_
(
-
response
Summary
Parameters:
-
response
DirectionsResults
getPathFromResponse_
Syntax
getPathFromResponse_
(
-
response
Summary
Parameters:
-
response
DirectionsResults
resolveUsingResponse
Syntax
resolveUsingResponse
(
-
response
-
status
Summary
Parameters:
-
response
DirectionsResults -
status
DirectionsStatus
settleUsingResponse
Syntax
settleUsingResponse
(
-
response
-
status
Summary
Resolve or reject the promise, based on the response data from the Google directions API
Parameters:
-
response
DirectionsResults -
status
DirectionsStatus