Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8290351
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T12:47:19+00:00 2026-06-08T12:47:19+00:00

I have an iphone app (iOS 5) that uses a UISearchBar to search an

  • 0

I have an iphone app (iOS 5) that uses a UISearchBar to search an MKMapView. We used JSON queries, and used the fantastic answers from this question as reference (our code is very similar). The process itself works fine now, but we tend to get no results back from Google when we query them, or just get a really far away and incorrect one. Most times we can even search for “McDonald’s” or “Subway” at it won’t return any results. In general, it rarely gives a good result back unless we’re very specific and include city and state and everything.

Is there another better way to go about this? Has something been updated since that answer that we should now take in to account? The problem doesn’t seem to be that the code isn’t working, but rather that Google just doesn’t handle queries well the way we do it. This seems to be a fairly common use for MKMapview so I figured there should be an easier and better-working solution.

Any help would be much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T12:47:22+00:00Added an answer on June 8, 2026 at 12:47 pm

    Here is a very useful list of the parameters that the Google Maps API supports:
    http://querystring.org/google-maps-query-string-parameters/

    You have a couple of options:

    1) Get the user’s location from the app and pass it into the search query with the sll parameter, e.g.

    this search doesn’t include a location:
    https://maps.google.com/?q=starbucks

    but this one does (I’ve used San Francisco in this example):
    https://maps.google.com/?q=starbucks&sll=37.776414,-122.437477

    Then you’ll get results for the user’s actual location. You’ll also need to do something sensible if the user does not permit the app to access their location (in that case you may want to disable search).

    2) If your app is for a specific place, then you can just add that place on the end of your search string. e.g. my Domesday app is only for England, so I include “,England” on the end of all my search requests, and that works nicely for me.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an app on my iPhone that was built on iOS 5 and
I have an iPhone (iOS) app that keeps data in a local SQLite database
I have a simple iPhone App that uses an NSLog and several printf statements.
I currently have an iOS app that can 'bootstrap' it's database from a bunch
I have an iOS 5 app that uses NSURLConnection to load some XML via
I have an iPhone app I am updating to iOS 6 that is having
I have a native iOS app that can be called from Mobile Safari in
I'm trying to create an iOS (iPhone specific) app where users have to authenticate
I have an iPhone app that I've built for the app store. Before I
I have an iPhone app that I am writing and it has 2 targets

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.