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

Returns a JSON formatted list of objects corresponding to the search input from Open Route Service Geocode.
https://openrouteservice.org/dev/#/api-docs/geocode. More...

Inheritance diagram for OnlineMapsOpenRouteServiceGeocode:
OnlineMapsTextWebService OnlineMapsWebServiceAPI

Static Public Member Functions

static OnlineMapsOpenRouteServiceGeocodingResult GetResult (string response)
 Converts the response string from Open Route Service Geocode to result object.
 
static OnlineMapsOpenRouteServiceGeocode Search (string text, GeocodeParams p=null)
 Resolve input coordinates to addresses and vice versa.
 

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

Returns a JSON formatted list of objects corresponding to the search input from Open Route Service Geocode.
https://openrouteservice.org/dev/#/api-docs/geocode.

Member Function Documentation

◆ GetResult()

static OnlineMapsOpenRouteServiceGeocodingResult OnlineMapsOpenRouteServiceGeocode.GetResult ( string response)
static

Converts the response string from Open Route Service Geocode to result object.

Parameters
responseResponse string
Returns
Result object

◆ Search()

static OnlineMapsOpenRouteServiceGeocode OnlineMapsOpenRouteServiceGeocode.Search ( string text,
GeocodeParams p = null )
static

Resolve input coordinates to addresses and vice versa.

Parameters
textName of location, street address or postal code
pParameters of the request
Returns
Instance of the query