Online Maps v3
Loading...
Searching...
No Matches
OnlineMapsHereRoutingAPI Class Reference

HERE Routing API is a web service API that offers easy and fast routing for several regions in the world.
https://developer.here.com/rest-apis/documentation/routing/topics/resource-calculate-route.html. More...

Inheritance diagram for OnlineMapsHereRoutingAPI:
OnlineMapsTextWebService OnlineMapsWebServiceAPI

Classes

class  Waypoint
 GeoWaypoint defines a waypoint by latitude and longitude coordinates, and an optional radius. More...
 

Static Public Member Functions

static OnlineMapsTextWebService Find (string apiKey, Waypoint origin, Waypoint destination, Waypoint[] via=null, Dictionary< string, string > extra=null)
 Creates a new request for a route search.
 
static OnlineMapsTextWebService Find (string app_id, string app_code, Waypoint origin, Waypoint destination, Waypoint[] via=null, Dictionary< string, string > extra=null)
 Creates a new request for a route search.
 
static OnlineMapsTextWebService Find (Waypoint origin, Waypoint destination, Waypoint[] via, Dictionary< string, string > extra=null)
 Creates a new request for a route search.
 
static OnlineMapsHereRoutingAPIResult GetResult (string response)
 Converts response string into an result object.
 

Additional Inherited Members

- Public Member Functions inherited from OnlineMapsWebServiceAPI
void Destroy ()
 Destroys the current request to webservice.
 
OnlineMapsWWW GetWWW ()
 Get request instance.
 
- Public Attributes inherited from OnlineMapsTextWebService
Action< string > OnComplete
 Event that occurs when a response is received from webservice.
 
new Action< OnlineMapsTextWebServiceOnFailed
 Event that occurs when an error response is received from webservice.
 
new Action< OnlineMapsTextWebServiceOnFinish
 This event is occurs after other events, before disposing the request.
 
new Action< OnlineMapsTextWebServiceOnSuccess
 Event that occurs when a success response is received from webservice.
 
- Public Attributes inherited from OnlineMapsWebServiceAPI
Action< OnlineMapsWebServiceAPIOnFailed
 Event that occurs when an error response is received from webservice.
 
Action< OnlineMapsWebServiceAPIOnFinish
 Event that occurs after OnComplete, when the response from webservice processed.
 
Action< OnlineMapsWebServiceAPIOnDispose
 Event that occurs when the current request instance is disposed.
 
Action< OnlineMapsWebServiceAPIOnSuccess
 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.
 
- Protected Member Functions inherited from OnlineMapsTextWebService
void OnRequestComplete (OnlineMapsWWW www)
 Checks whether the response from webservice.
 
- Protected Attributes inherited from OnlineMapsTextWebService
string _response
 Response string.
 
- Properties inherited from OnlineMapsTextWebService
string response [get]
 Gets a response from webservice.
 
- Properties inherited from OnlineMapsWebServiceAPI
OnlineMapsQueryStatus status [get]
 Gets the current status of the request to webservice.
 

Detailed Description

HERE Routing API is a web service API that offers easy and fast routing for several regions in the world.
https://developer.here.com/rest-apis/documentation/routing/topics/resource-calculate-route.html.

Member Function Documentation

◆ Find() [1/3]

static OnlineMapsTextWebService OnlineMapsHereRoutingAPI.Find ( string apiKey,
Waypoint origin,
Waypoint destination,
Waypoint[] via = null,
Dictionary< string, string > extra = null )
static

Creates a new request for a route search.

Parameters
apiKeyA 43-byte Base64 URL-safe encoded string used for the authentication of the client application.
waypointsList of waypoints that define a route. The first element marks the start, the last the end point.
Waypoints in between are interpreted as via points.
modeThe routing mode determines how the route is calculated.
pOptional request parameters.
Returns
Query instance to HERE Routing API.

◆ Find() [2/3]

static OnlineMapsTextWebService OnlineMapsHereRoutingAPI.Find ( string app_id,
string app_code,
Waypoint origin,
Waypoint destination,
Waypoint[] via = null,
Dictionary< string, string > extra = null )
static

Creates a new request for a route search.

Parameters
app_idA 20 bytes Base64 URL-safe encoded string used for the authentication of the client application.
app_codeA 20 bytes Base64 URL-safe encoded string used for the authentication of the client application.
waypointsList of waypoints that define a route. The first element marks the start, the last the end point.
Waypoints in between are interpreted as via points.
modeThe routing mode determines how the route is calculated.
pOptional request parameters.
Returns
Query instance to HERE Routing API.

◆ Find() [3/3]

static OnlineMapsTextWebService OnlineMapsHereRoutingAPI.Find ( Waypoint origin,
Waypoint destination,
Waypoint[] via,
Dictionary< string, string > extra = null )
static

Creates a new request for a route search.

Parameters
app_idA 20 bytes Base64 URL-safe encoded string used for the authentication of the client application.
app_codeA 20 bytes Base64 URL-safe encoded string used for the authentication of the client application.
apiKeyA 43-byte Base64 URL-safe encoded string used for the authentication of the client application.
waypointsList of waypoints that define a route. The first element marks the start, the last the end point.
Waypoints in between are interpreted as via points.
modeThe routing mode determines how the route is calculated.
pOptional request parameters.
Returns
Query instance to HERE Routing API.

◆ GetResult()

static OnlineMapsHereRoutingAPIResult OnlineMapsHereRoutingAPI.GetResult ( string response)
static

Converts response string into an result object.

Parameters
responseResponse of HERE Routing API.
Returns
Result object