iosswifthere-apiheremapsheremaps-ios-sdk

How to get country specific result (only for UK) in HERE MAP iOS SDK?


HEREDeveloperSupport

Is there any method for AutoSuggestionRequest to get country specific result?

I am using the Native IOS SDK premium edition version 3.15,i need to show UK results only.

I am following the below code

 let autoSuggestionRequest = NMAPlaces.sharedInstance()!.createAutoSuggestionRequest(location:geo,
            partialTerm:text, resultType:getResultType())

        autoSuggestionRequest?.languagePreference = languageLabel.text

Solution

  • As per my R&D (posting date) and discuss with the HERE MAP support team on slack, there is no any method to find the Specific country address search result for example show UK results only. ( 3.x Premium SDK)

    Now, I have created custom auto search bar using the POST API and it's working fine but it's showing the search address in your current location.