java.lang.Object | |
↳ | com.carto.geocoding.ReverseGeocodingRequest |
A reverse geocoding request describing search location.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ReverseGeocodingRequest(Projection projection, MapPos location)
Constructs a new ReverseGeocodingRequest object from a projection and location.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
synchronized void | delete() | ||||||||||
boolean |
equals(Object obj)
Checks if this object is equal to the specified object.
| ||||||||||
Variant |
getCustomParameter(String param)
Returns the custom parameter value of the request.
| ||||||||||
MapPos |
getLocation()
Returns the location of the query.
| ||||||||||
Projection |
getProjection()
Returns the projection of the query.
| ||||||||||
float |
getSearchRadius()
Returns the search radius (in meters).
| ||||||||||
int |
hashCode()
Returns the hash value of this object.
| ||||||||||
void |
setCustomParameter(String param, Variant value)
Sets a custom parameter value for the the request.
| ||||||||||
void |
setSearchRadius(float radius)
Sets the search radius (in meters).
| ||||||||||
String |
toString()
Creates a string representation of this request object, useful for logging.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Constructs a new ReverseGeocodingRequest object from a projection and location.
projection | The projection to use for the result and location data. |
---|---|
location | The location of the query. |
Checks if this object is equal to the specified object.
obj | The reference object. |
---|
Returns the custom parameter value of the request.
param | The name of the parameter to return. |
---|
Returns the projection of the query.
Returns the search radius (in meters).
Returns the hash value of this object.
Sets a custom parameter value for the the request.
param | The name of the parameter. |
---|---|
value | The new value for the parameter. |
Sets the search radius (in meters).
The default search radius is 100 meters.
radius | The new search radius in meters. |
---|
Creates a string representation of this request object, useful for logging.