Questions tagged [mklocalsearchrequest]

An MKLocalSearchRequest object is a utility object that you use to specify map-based search parameters.

An MKLocalSearchRequest object is a utility object that you use to specify map-based search parameters. After creating an instance of this object, you can assign a natural language string containing the address or point-of-interest to search for. You can also specify a specific map region to narrow the search results. You then use the configured object to initialize an MKLocalSearch object and perform your search.

23 questions
0
votes
1 answer

MapKit SearchResultsUpdating Not called

Can someone review my code? I'm trying to use MapKit to get local search results. I used this tutorial: https://www.thorntech.com/2016/01/how-to-search-for-location-using-apples-mapkit/ The differences from the tutorial and what I'm doing is that I…
Kenny Ho
  • 409
  • 3
  • 16
0
votes
1 answer

Swift 3.0 Autocomplete Address For Search Bar

I am interested in using a tableView to list possible addresses based on inputs in the search bar. After selecting the cell that contains the address desired, the search bar text consists of the address, however I want the possible addresses (cells)…
Kevin
  • 1,189
  • 2
  • 17
  • 44
0
votes
0 answers

Swift MKLocalSearchRequest to get more than 10 results

I know how to search for local establishments but I'm curious if it's possible to display more than just 10 results from the search? Here's my code to perform the search. let request = MKLocalSearchRequest() request.naturalLanguageQuery =…
mocode10
  • 589
  • 1
  • 6
  • 23
0
votes
1 answer

iOS - Apple Maps MKMapKit search location not functioning properly

Apple Maps MKMapKit search location not functioning properly using MKLocalSearch. I have to provide Location search functionality where user can enter input and app will suggest matched result and user can select one of them to display it on to map…
RayofHope
  • 1,187
  • 2
  • 14
  • 30
0
votes
1 answer

Determine whether user is at a specific location

What's the best way to determine whether the user is at a specific location, i.e. at a gas station? I've implemented an approach where the app is listening for major location changes until the user get's close enough to a location. Then the app…
flohei
  • 5,248
  • 10
  • 36
  • 61
0
votes
0 answers

How to increase results MKLocalSearchRequest?

How does one increase the number of results from a MKLocalSearchRequest? Here's my code: MKLocalSearchRequest *request = [[MKLocalSearchRequest alloc] init]; request.naturalLanguageQuery = searchTextfield.text; request.region =…
Andrew
  • 3,545
  • 4
  • 31
  • 37
0
votes
2 answers

How to get neaby places, photos with MKLocalSearchRequest

Does the response for MKLocalSearchRequest give you an image for each entry? Or is there a way to get the Nearby places with a place photo ?
Sukitha Udugamasooriya
  • 2,268
  • 1
  • 35
  • 56
-2
votes
1 answer

Determining User Location - iOS

I am able to set annotations within some specified KM radius of the user current location (lets say for annotations are indicating pizza search points). But if the user drags the map left/right/top/bottom then is there any way to refresh the map and…
1
2