NTReverseGeocodingService
@interface NTReverseGeocodingService : NSObject {
void *swigCPtr;
BOOL swigCMemOwn;
}
An abstract base class for reverse geocoding services.
-
Returns the language of the expected results.
Declaration
Objective-C
- (NSString *)getLanguage;
Return Value
The language of the expected results. As ISO 639-1 code or empty string.
-
Sets the language of the expected results.
Declaration
Objective-C
- (void)setLanguage:(NSString *)lang;
Parameters
lang
The language to use as ISO 639-1 code. Empty string can be used for default language.
-
Calculates matching addresses from the specified reverse geocoding request.
Warning
Throws NSException If IO error occured during the calculation.Declaration
Objective-C
- (NTGeocodingResultVector *)calculateAddresses: (NTReverseGeocodingRequest *)request;
Parameters
request
The reverse geocoding request to use.
Return Value
The list of matching geocoding results, sorted by descending ranks.
-
The default constructor.
Declaration
Objective-C
- (id)init;
-
Undocumented
Declaration
Objective-C
-(void)dealloc;