NTReverseGeocodingRequest
@interface NTReverseGeocodingRequest : NSObject {
void *swigCPtr;
BOOL swigCMemOwn;
}
A reverse geocoding request describing search location.
-
Checks if this object is equal to the specified object.
Declaration
Objective-C
- (BOOL)isEqual:(id)object;
Parameters
object
The reference object.
Return Value
True when objects are equal, false otherwise.
-
Returns the hash value of this object.
Declaration
Objective-C
- (NSUInteger)hash;
Return Value
The hash value of this object.
-
Constructs a new ReverseGeocodingRequest object from a projection and location.
Declaration
Objective-C
- (id)initWithProjection:(NTProjection *)projection location:(NTMapPos *)location;
Parameters
projection
The projection to use for the result and location data.
location
The location of the query.
-
Returns the location of the query.
Declaration
Objective-C
- (NTMapPos *)getLocation;
Return Value
The location of the query.
-
Returns the search radius (in meters).
Declaration
Objective-C
- (float)getSearchRadius;
Return Value
The search radius in meters.
-
Sets the search radius (in meters). The default search radius is 100 meters.
Declaration
Objective-C
- (void)setSearchRadius:(float)radius;
Parameters
radius
The new search radius in meters.
-
Returns the projection of the query.
Declaration
Objective-C
- (NTProjection *)getProjection;
Return Value
The projection of the query.
-
Returns the custom parameter value of the request.
Declaration
Objective-C
- (NTVariant *)getCustomParameter:(NSString *)param;
Parameters
param
The name of the parameter to return.
Return Value
The value of the parameter. If the parameter does not exist, empty variant is returned.
-
Sets a custom parameter value for the the request.
Declaration
Objective-C
- (void)setCustomParameter:(NSString *)param value:(NTVariant *)value;
Parameters
param
The name of the parameter.
value
The new value for the parameter.
-
Creates a string representation of this request object, useful for logging.
Declaration
Objective-C
- (NSString *)description;
Return Value
The string representation of this request object.
-
Undocumented
Declaration
Objective-C
-(void)dealloc;