NSDK_SearchRequest

@interface NSDK_SearchRequest : NSObject

Search request for most geocoding functions (including searchTown:, searchPostcode:, searchStreet:, searchHouseNr:)

  • Init Method

    Declaration

    Objective-C

    - (instancetype)initWithSearchString:(NSString *)searchString
                                    kind:(NSDK_SearchKind)searchKind;

    Swift

    init!(search searchString: String!, kind searchKind: NSDK_SearchKind)

    Parameters

    searchString

    String representation of item to search for

    searchKind

    Kind of search request

    Return Value

    the initialized object

  • Init Method

    Declaration

    Objective-C

    - (instancetype)initWithSearchString:(NSString *)searchString
                                position:(NSDK_Position *)position
                                      cc:(short)cc
                                    kind:(NSDK_SearchKind)searchKind;

    Swift

    init!(search searchString: String!, position: NSDK_Position!, cc: Int16, kind searchKind: NSDK_SearchKind)

    Parameters

    searchString

    String representation of item to search for

    position

    Position for nearest or circle search

    cc

    Numerical country code. Available for searchTown: and searchPostCode. Set to 0 to be ignored.

    searchKind

    Kind of search request

    Return Value

    the initialized object