Online Maps
v3
|
This class is used to search OSM data by name and address and to generate synthetic addresses of OSM points (reverse geocoding).
http://wiki.openstreetmap.org/wiki/Nominatim
More...
Static Public Member Functions | |
static OnlineMapsTextWebService | Search (string query, string acceptlanguage="en", int limit=0, bool addressdetails=true) |
Nominatim indexes named (or numbered) features with the OSM data set and a subset of other unnamed features (pubs, hotels, churches, etc). More... | |
static OnlineMapsTextWebService | Reverse (Vector2 location, string acceptlanguage="en", bool addressdetails=true) |
Reverse geocoding generates an address from a latitude and longitude. More... | |
static OnlineMapsOSMNominatimResult[] | GetResults (string response) |
Converts response into an array of results. More... | |
Additional Inherited Members | |
Public Member Functions inherited from OnlineMapsTextWebService | |
override void | Destroy () |
Destroys the current request to webservice. More... | |
Public Member Functions inherited from OnlineMapsWebServiceAPI | |
OnlineMapsWWW | GetWWW () |
Get request instance More... | |
Public Attributes inherited from OnlineMapsTextWebService | |
Action< string > | OnComplete |
Event that occurs when a response is received from webservice. More... | |
new Action< OnlineMapsTextWebService > | OnFailed |
Event that occurs when an error response is received from webservice More... | |
new Action< OnlineMapsTextWebService > | OnFinish |
This event is occurs after other events, before disposing the request More... | |
new Action< OnlineMapsTextWebService > | OnSuccess |
Event that occurs when a success response is received from webservice More... | |
Public Attributes inherited from OnlineMapsWebServiceAPI | |
Action< OnlineMapsWebServiceAPI > | OnFailed |
Event that occurs when an error response is received from webservice. More... | |
Action< OnlineMapsWebServiceAPI > | OnFinish |
Event that occurs after OnComplete, when the response from webservice processed. More... | |
Action< OnlineMapsWebServiceAPI > | OnDispose |
Event that occurs when the current request instance is disposed. More... | |
Action< OnlineMapsWebServiceAPI > | OnSuccess |
Event that occurs when a success response is received from webservice. More... | |
object | customData |
In this variable you can put any data that you need to work with requests. More... | |
Protected Member Functions inherited from OnlineMapsTextWebService | |
void | OnRequestComplete (OnlineMapsWWW www) |
Checks whether the response from webservice. More... | |
Protected Attributes inherited from OnlineMapsTextWebService | |
string | _response |
Response string More... | |
Properties inherited from OnlineMapsTextWebService | |
string | response [get] |
Gets a response from webservice. More... | |
Properties inherited from OnlineMapsWebServiceAPI | |
OnlineMapsQueryStatus | status [get] |
Gets the current status of the request to webservice. More... | |
This class is used to search OSM data by name and address and to generate synthetic addresses of OSM points (reverse geocoding).
http://wiki.openstreetmap.org/wiki/Nominatim
|
static |
Converts response into an array of results.
response | Response of query. |
|
static |
Reverse geocoding generates an address from a latitude and longitude.
location | The location to generate an address for. |
acceptlanguage | Preferred language order for showing search results, overrides the value specified in the "Accept-Language" HTTP header. Either uses standard rfc2616 accept-language string or a simple comma separated list of language codes. |
addressdetails | Include a breakdown of the address into elements. |
|
static |
Nominatim indexes named (or numbered) features with the OSM data set and a subset of other unnamed features (pubs, hotels, churches, etc).
query | Query string to search for. |
acceptlanguage | Preferred language order for showing search results, overrides the value specified in the "Accept-Language" HTTP header. Either uses standard rfc2616 accept-language string or a simple comma separated list of language codes. |
limit | Limit the number of returned results. |
addressdetails | Include a breakdown of the address into elements. |