The Elevation API provides elevation data for all locations on the surface of the earth, including depth locations on the ocean floor (which return negative values).
In those cases where Google does not possess exact elevation measurements at the precise location you request, the service will interpolate and return an averaged value using the four nearest locations.
With the Elevation API, you can develop hiking and biking applications, mobile positioning applications, or low resolution surveying applications.
https://developers.google.com/maps/documentation/elevation/.
More...
|
| static OnlineMapsGoogleElevation | Find (Vector2 location, string key=null, string client=null, string signature=null) |
| | Get elevation value for single location.
|
| |
| static OnlineMapsGoogleElevation | Find (Vector2[] locations, string key=null, string client=null, string signature=null) |
| | Get elevation values for several locations.
|
| |
| static OnlineMapsGoogleElevation | Find (Vector2[] path, int samples, string key=null, string client=null, string signature=null) |
| | Get elevation values for path.
|
| |
| static OnlineMapsGoogleElevationResult[] | GetResults (string response) |
| | Converts response into an array of results.
|
| |
|
|
void | Destroy () |
| | Destroys the current request to webservice.
|
| |
| OnlineMapsWWW | GetWWW () |
| | Get request instance.
|
| |
|
Action< string > | OnComplete |
| | Event that occurs when a response is received from webservice.
|
| |
|
new Action< OnlineMapsTextWebService > | OnFailed |
| | Event that occurs when an error response is received from webservice.
|
| |
|
new Action< OnlineMapsTextWebService > | OnFinish |
| | This event is occurs after other events, before disposing the request.
|
| |
|
new Action< OnlineMapsTextWebService > | OnSuccess |
| | Event that occurs when a success response is received from webservice.
|
| |
|
Action< OnlineMapsWebServiceAPI > | OnFailed |
| | Event that occurs when an error response is received from webservice.
|
| |
|
Action< OnlineMapsWebServiceAPI > | OnFinish |
| | Event that occurs after OnComplete, when the response from webservice processed.
|
| |
|
Action< OnlineMapsWebServiceAPI > | OnDispose |
| | Event that occurs when the current request instance is disposed.
|
| |
|
Action< OnlineMapsWebServiceAPI > | OnSuccess |
| | Event that occurs when a success response is received from webservice.
|
| |
|
object | customData |
| | In this variable you can put any data that you need to work with requests.
|
| |
|
void | OnRequestComplete (OnlineMapsWWW www) |
| | Checks whether the response from webservice.
|
| |
|
string | _response |
| | Response string.
|
| |
| string | response [get] |
| | Gets a response from webservice.
|
| |
| OnlineMapsQueryStatus | status [get] |
| | Gets the current status of the request to webservice.
|
| |
The Elevation API provides elevation data for all locations on the surface of the earth, including depth locations on the ocean floor (which return negative values).
In those cases where Google does not possess exact elevation measurements at the precise location you request, the service will interpolate and return an averaged value using the four nearest locations.
With the Elevation API, you can develop hiking and biking applications, mobile positioning applications, or low resolution surveying applications.
https://developers.google.com/maps/documentation/elevation/.
◆ Find() [1/3]
| static OnlineMapsGoogleElevation OnlineMapsGoogleElevation.Find |
( |
Vector2 | location, |
|
|
string | key = null, |
|
|
string | client = null, |
|
|
string | signature = null ) |
|
static |
Get elevation value for single location.
- Parameters
-
| location | Location on the earth from which to return elevation data. |
| key | Your application's API key.
This key identifies your application for purposes of quota management. |
| client | Client ID identifies you as a Maps API for Work customer and enables support and purchased quota for your application.
Requests made without a client ID are not eligible for Maps API for Work benefits. |
| signature | Your welcome letter includes a cryptographic signing key, which you must use to generate unique signatures for your web service requests. |
- Returns
- Query instance to the Google API.
◆ Find() [2/3]
| static OnlineMapsGoogleElevation OnlineMapsGoogleElevation.Find |
( |
Vector2[] | locations, |
|
|
string | key = null, |
|
|
string | client = null, |
|
|
string | signature = null ) |
|
static |
Get elevation values for several locations.
- Parameters
-
| locations | Locations on the earth from which to return elevation data. |
| key | Your application's API key.
This key identifies your application for purposes of quota management. |
| client | Client ID identifies you as a Maps API for Work customer and enables support and purchased quota for your application.
Requests made without a client ID are not eligible for Maps API for Work benefits. |
| signature | Your welcome letter includes a cryptographic signing key, which you must use to generate unique signatures for your web service requests. |
- Returns
- Query instance to the Google API.
◆ Find() [3/3]
| static OnlineMapsGoogleElevation OnlineMapsGoogleElevation.Find |
( |
Vector2[] | path, |
|
|
int | samples, |
|
|
string | key = null, |
|
|
string | client = null, |
|
|
string | signature = null ) |
|
static |
Get elevation values for path.
- Parameters
-
| path | Path on the earth for which to return elevation data. |
| samples | Specifies the number of sample points along a path for which to return elevation data.
The samples parameter divides the given path into an ordered set of equidistant points along the path. |
| key | Your application's API key.
This key identifies your application for purposes of quota management. |
| client | Client ID identifies you as a Maps API for Work customer and enables support and purchased quota for your application.
Requests made without a client ID are not eligible for Maps API for Work benefits. |
| signature | Your welcome letter includes a cryptographic signing key, which you must use to generate unique signatures for your web service requests. |
- Returns
- Query instance to the Google API.
◆ GetResults()
Converts response into an array of results.
- Parameters
-
| response | Response of Google API. |
- Returns
- Array of result.