Thank you,
Can you pls, clear my small doubt,
I used to search categorical landmarks using this URL
http://ajax.googleapis.com/ajax/services/search/local?v=1.0&q=Hotels
------- it gives its default results based on US as centre point.
I used to search same categorical landmarks using this URL for
paticular location
http://ajax.googleapis.com/ajax/services/search/local?v=1.0&q=Hotels&ssl=20.5936840,78.9628800
----- after that also it take default centre point that is US, instead
of taking the specified location(lat and long).
Pls, suggest me....
On Jun 30, 4:44 pm, Jeremy Geerdes <
jrgeer...@gmail.com> wrote:
> If you look in the documentation, you'll see that the sll parameter is
> used to specify a lat/lng to search around, and you can use the sspn
> parameter to roughly approximate searching between a couple of
> points. Just remember that you'll still be limited to no more than 8
> results per request and 32 results total, so if you're searching for
> something very common, you probably still won't get all the results.
>
> Jeremy R. Geerdes
> Effective website design & development
> Des Moines, IA
>
> For more information or a project quote:http://jgeerdes.home.mchsi.comhttp://jgeerdes.blogspot.comhttp://
jgeerdes.wordpress.com
>
jgeer...@mchsi.com
>
> Unless otherwise noted, any price quotes contained within this
> communication are given in US dollars.
>
> If you're in the Des Moines, IA, area, check out Debra Heights
> Wesleyan Church!
>
> And check out my blog, Adventures in Web Development, athttp://
jgeerdes.blogspot.com
> !
>
> On Jun 29, 2009, at 11:33 PM, neeraja ariya wrote:
>
>
>
> > Thanks for ur reply, I understood that URL pattern, but I have small
> > doubt in it,
> > What is the URL to get List of "Hotels" in a specific centre point,
> >
http://ajax.googleapis.com/ajax/services/search/local?v=1.0&q=Paris%2...
> > We have to give the centre point at the parameter "q", but how to set
> > the searchControl object that is "Hotels".
>
> > pls suggest me....
> > And also tell how to get the results for specified search control
> > object(s) "Hotels" between two point, pls specify the url,
>
> > Thanks in advance......
>
> > Its urgent....
>
> > On Jun 29, 5:08 pm, Jeremy Geerdes <
jrgeer...@gmail.com> wrote:
> >> There are no specific API methods for use in Java or any other
> >> programming language. Outside of Javascript, the API is a simple
> >> RESTful one, meaning that it simply responds to various arguments
> >> that
> >> you include in the URL that you request. So to use it, all you need
> >> to do is construct a URL with the appropriate parameters, request it
> >> from Google, and then parse the JSON response. Check out the
> >> following documentation for more information and even some code
> >> snippets:
>
> >>
http://code.google.com/apis/ajaxsearch/documentation/index.html#fonje...