google-local-search

Google Location API vs. Maps: Why are identical queries yielding different results?

I'm losing some hair over Google's AJAX API currently. What I do is turning structured location data into a Google local search API query in order to give users an alternative result list of places. ex.: http://ajax.googleapis.com/ajax/services/search/local?v=1.0&key=XXX&hl=en_US&mrt=localonly&rsz=large&q=pizza+Neus...

google local search results in XML/JSON format

Hi, I would like to issue a local search on Google maps (e.g. list of restaurants for a given location), and I would like to get the (Restaurants data) data back in JSON/XML or other similar format. What's the best way to do it? Thanks! ...

Smart ways to determine if a search request is an address or a business for use in Google APIS?

Here is the problem, I have an app with a search bar, the user can input something like "18th Street" or "Starbucks" and it uses the Google Geocoding and Local Search APIs respectively to get results. I'm wondering is there a smart way to determine whether or not a given input string is an address that needs to be Geocoded, or a busines...

NSURLErrorBadURL error

My iphone app called Google Local Search(non javascript version) to behave some search business. Below is my code to form a url: NSString *url = [NSString stringWithFormat:@"http://ajax.googleapis.com/ajax/services/search/local?v=1.0&q=%@", keyword]; NSMutableURLRequest *request = [[[NSMutableURLRequest alloc] init] autorelease]; ...

Google Local Search API

hey guys couple of quick questions 1) In the local search results - we can get a lot of parameters like street title, address, city, state, lat, long , url etc - In order for me to uniquely identify this record - can I consider URL to be unique to this address or concatenation of latitude and longitude Ref: http://code.google.com/apis...

Forcing google to give "did you mean" options when using maps/localsearch API

I want my application using Google local search and google maps to give my users the ability to choose from a number of locations when there are a number of possible answers to their query. A good example would be "Overton, UK" - there are lots of places with this name in the country, and the google maps website gives several possible "d...

google maps custom local search / search control

I have two questions about google maps local search. Here is my code: var options = { onSearchCompleteCallback:function(searcher) { // content of onSearchCompleteCallback function // creates markers and applies addresses to a result list // at this point code isn't necessary, because this function already wor...

google map local search, how to search address, local from a specific country only?

Hi, I'm using google map local search api and I'm trying to search and get result from a specific country only. Wonder If anyone have experience about this. ...

Google Maps V3 API and Local Search; allow other people to add markers and make those markers searchable

Hello, Sorry for the long title, but I had to make it as descriptive as I could. Anyway, let's say I have a map on my site. The map is centered using Google's geocoder. I also have LocalSearch "enabled" on the map. So the map has "markers" for each result returned by the LocalSearch. So my question is, can I make other people add "mar...

More than 7 results for Google local search?

Currently I am using the following code: $zipcode = '91762'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://ajax.googleapis.com/ajax/services/search/local?v=1.0&q=restauraunts+".$zipcode."&rsz=large"); curl_setopt($ch, CURLOPT_HEADER, 0); ob_start(); curl_exec($ch); $data = ob_get_contents(); ob_end_clean(); curl_close...

How long does it take for google to find and add citations to local pages?

So I've been helping a friend update a listing of a local small business on google and also get the business listed in around 20 additional places that Google seems to like to use for reference in the same industry. The problem is that it's been about 3 weeks and no new citations have shown up. I know Google can take up to 90 days to re...