Questions tagged [mklocalsearch]

MKLocalSearch helps to find nearby local points of interest.

75 questions
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

Giving suggestions based on MKmapview search in a tableview

I have a map and on the map ive made a search bar that works. You can write what you want in it and it will find that place and put an annotation in it. The thing is i want to display a tableview that will give me result after what im writing.…
0
votes
2 answers

Accessing MKLocalSearchResponse item (swift)

When I do println(localSearchResponse), I get a MapItem object, which includes a ton of details about the location. In this example, its UCSD. Here is the output showing in my log. { boundingRegion =…
Josh O'Connor
  • 4,694
  • 7
  • 54
  • 98
0
votes
1 answer

How to use MKLocalSearch In MKMapView

i am using MKLocalSearch in MKMapView..I am implementing as follow extension MYClass: SendLocationDelegate{ func sendCoOrdinates(loccoordinate:CLLocation, placemark:CLPlacemark){ println(" Google VC coordinate is as…
user4790024
0
votes
1 answer

Filtering Restaurants in MKMapView

I was wondering if MKMapView supports filtering restaurants based on cuisine? If you search "Chinese Restaurants", for example, will Chinese restaurants appear or is there a separate code for that, if even possible? Thanks.
Chris Gong
  • 8,031
  • 4
  • 30
  • 51
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
0
votes
0 answers

App Crashes When Attempting To Return Value From NSDictionary, MKLocalSearch

I would like to return the value of "star_rating" from this NSDictionary retrieved using MKLocalSearch. The dictionary that is returned looks something like this after I apply valueForKeyPath:@"business" to it. UID = 8094514780070527910; URL =…
0
votes
1 answer

MapKit Local Search to Populate table view

I am making a simple app that will allow the user to search for a location in a search bar and then the table view underneath will populate the results of the local search. When a user then clicks on a location from the table view it will annotate…
Stephen Bennett
  • 431
  • 6
  • 17
0
votes
1 answer

expand search region in MKlocalSearch mapkit

I am using mapkit and MKLocalSearch to search for business locations within the users current area. However the region doesnt seem to be as large as I need and some business locations will not show up in my search unless I set my current location to…
user3492592
  • 89
  • 12
0
votes
0 answers

MapKit and adding new pins after a MKLocalSearch

I'm running a MKLocalSearch request and when I find POIs I want to drop a pin based on the coordinates of the POIs I find. NSLog(@"annotations %d",[mapView.annotations count]); returns 0 even with valid coordinates for the POIs -…
0
votes
0 answers

MKlocalSearch completion handler never called

I am trying to use Apple's built in location search API (as opposed to Google's as it is free. Below is my code. My problem is that the completion handler for startWithCompletionHandler: never gets called. No exceptions are getting thrown either.…
Kevin Coleman
  • 51
  • 1
  • 1
0
votes
1 answer

how to get phone number,street view address on MKLocalSearch

So I understand the code in the link below for the most part. http://phpadvocate.com/blog/2013/01/ios-6-1-simple-example-using-mklocalsearch/ However, how do I get the address for the mapItem? Seems like the other properties include: placemark,…
-1
votes
1 answer

MKLocalSearchCompleter result in English

I am implementing an auto-complete feature for users to search for address based on their input. However, I want to ensure that the search results are always in English, regardless of the user's phone language. While I considered using…
-1
votes
1 answer

Retrieve first 'mapItem' element from MKLocalSearch object in swift

first I want to say I'm new to the swift language. My question almost mirrors this question: Accessing MKLocalSearchResponse item (swift) However, when I apply this to my similar looking code I get an error "Value of type 'MKLocalSearch' has no…
DanTheMan
  • 5
  • 2
-3
votes
1 answer

Hill climbing in 7D space

I have below function in 7D space (means x=(x1,x2,x3,x4,x5,x6,x7)) and I want find the minimum point of this function with hill climbing in matlab. I found this link useful but I don't know how can I implement my function in Matlab. Update: I…
Yuseferi
  • 7,931
  • 11
  • 67
  • 103
1 2 3 4
5