Online Maps v3
Loading...
Searching...
No Matches
OnlineMapsOpenRouteService.GeocodingParams Class Reference

Parameters of the geocoding request. More...

Inheritance diagram for OnlineMapsOpenRouteService.GeocodingParams:
OnlineMapsOpenRouteService.Params

Classes

class  Circle
 For boundary_type=circle only! Sets the restriction circle with a Centerpoint and a Radius in meters. More...
 

Public Member Functions

 GeocodingParams (string key, string query)
 Gets the coordinates of the specified address.
 
 GeocodingParams (string key, OnlineMapsVector2d location)
 Converts coordinates to a location address.
 
 GeocodingParams (string key, double lng, double lat)
 Converts coordinates to a location address.
 

Public Attributes

string lang
 Sets the language of the response.
 
BoundaryType? boundary_type
 Specifies the type of spatial search restriction. rect for a rectangle and circle.
 
OnlineMapsGeoRect rect
 For boundary_type=rect only! Sets the restriction rectangle.
 
Circle circle
 For boundary_type=circle only! Sets the restriction circle with a Centerpoint and a Radius in meters.
 
int limit = 20
 Specifies the maximum number of responses. Not needed for reverse.
 
- Public Attributes inherited from OnlineMapsOpenRouteService.Params
string id
 Arbitrary identification string of the request reflected in the meta information.
 

Additional Inherited Members

- Protected Attributes inherited from OnlineMapsOpenRouteService.Params
string key
 Open Route Service API key.
 

Detailed Description

Parameters of the geocoding request.

Constructor & Destructor Documentation

◆ GeocodingParams() [1/3]

OnlineMapsOpenRouteService.GeocodingParams.GeocodingParams ( string key,
string query )

Gets the coordinates of the specified address.

Parameters
keyOpen Route Service API key
queryName of location, street address or postal code.

◆ GeocodingParams() [2/3]

OnlineMapsOpenRouteService.GeocodingParams.GeocodingParams ( string key,
OnlineMapsVector2d location )

Converts coordinates to a location address.

Parameters
keyOpen Route Service API key
locationCoordinate to be inquired.

◆ GeocodingParams() [3/3]

OnlineMapsOpenRouteService.GeocodingParams.GeocodingParams ( string key,
double lng,
double lat )

Converts coordinates to a location address.

Parameters
keyOpen Route Service API key
lngLongitude to be inquired.
latLatitude to be inquired.