Returns a route between two or more locations using Open Route Service Directions for a selected profile and its settings as JSON.
https://openrouteservice.org/dev/#/api-docs/v2/directions/{profile}/post.
More...
|
| enum | Profile |
| | Specifies the route profile.
|
| |
|
|
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.
|
| |
Returns a route between two or more locations using Open Route Service Directions for a selected profile and its settings as JSON.
https://openrouteservice.org/dev/#/api-docs/v2/directions/{profile}/post.
◆ Find() [1/3]
Search a route between two locations using Open Route Service Directions for a selected profile.
- Parameters
-
| fromLng | Longitude of an origin point |
| fromLat | Latitude of an origin point |
| toLng | Longitude fo a destination point |
| toLat | Latitude of a destination point |
| p | Parameters of a request |
- Returns
- Instance of a request
◆ Find() [2/3]
Search a route between two or more locations using Open Route Service Directions for a selected profile.
- Parameters
-
| coordinates | Coordinates of locations [lng, lat, lng, lat...] |
| p | Parameters of a request |
- Returns
- Instance of a request
◆ Find() [3/3]
Search a route between two locations using Open Route Service Directions for a selected profile.
- Parameters
-
| origin | Origin |
| destination | Destination |
| p | Parameters of a request |
- Returns
- Instance of a request
◆ GetResults()
Convert a response string into result object.
- Parameters
-
- Returns
- Result object