Integrating NewsSearch results with Maps API

0 views
Skip to first unread message

Ashwani

unread,
Nov 6, 2009, 3:36:28 PM11/6/09
to Google AJAX APIs
Hi All,
I read that the LocalSearch results can be integrated with Maps API,
is there any way to integrate NewsSearch results with Map?

Regards,
Ashwani

Jeremy Geerdes

unread,
Nov 6, 2009, 3:41:32 PM11/6/09
to google-ajax...@googlegroups.com
I'm sure it could be done. The trick would be figuring it out how you
would do it. The NewsSearch results do not come with lat/lng values,
and I don't know how you could guarantee that you would be able to
find a lat/lng pair, even if you ran a search against the result
title, publisher, and snippet.

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
http://jgeerdes.blogspot.com
http://jgeerdes.wordpress.com
jgee...@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, at http://jgeerdes.blogspot.com
!

Ashwani

unread,
Nov 6, 2009, 4:13:35 PM11/6/09
to Google AJAX APIs
Hi Jeremy,

Thanks for your reply. So how can I achieve this? I want to link news
results with Map by adding markers at the place where the news belong
to. The LocalSearch has a method using which Map object can be bind
but the same is not provided by NewsSearch. The other way I think of
is calling NewsSearch first, and then for each result find location in
map and mark it. But I think that would be a dirty way.

Any good and easy way please can you suggest?

Regards,
Ashwani

On Nov 6, 3:41 pm, Jeremy Geerdes <jrgeer...@gmail.com> wrote:
> I'm sure it could be done. The trick would be figuring it out how you  
> would do it. The NewsSearch results do not come with lat/lng values,  
> and I don't know how you could guarantee that you would be able to  
> find a lat/lng pair, even if you ran a search against the result  
> title, publisher, and snippet.
>
> 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 Nov 6, 2009, at 2:36 PM, Ashwani wrote:
>
>
>
>
>
> > Hi All,
> > I read that the LocalSearch results can be integrated with Maps API,
> > is there any way to integrate NewsSearch results with Map?
>
> > Regards,
> > Ashwani- Hide quoted text -
>
> - Show quoted text -

Ashwani

unread,
Nov 6, 2009, 4:23:57 PM11/6/09
to Google AJAX APIs
The NewsSearch result object does have .location property.

Regards,
Ashwani

On Nov 6, 4:13 pm, Ashwani <ashwa...@gmail.com> wrote:
> Hi Jeremy,
>
> Thanks for your reply. So how can I achieve this? I want to link news
> results with Map by adding markers at the place where the news belong
> to. The LocalSearch has a method using which Map object can be bind
> but the same is not provided by NewsSearch. The other way I think of
> is calling NewsSearch first, and then for each result find location in
> map and mark it. But I think that would be a dirty way.
>
> Any good and easy way please can you suggest?
>
> Regards,
> Ashwani
>
> On Nov 6, 3:41 pm, Jeremy Geerdes <jrgeer...@gmail.com> wrote:
>
>
>
> > I'm sure it could be done. The trick would be figuring it out how you  
> > would do it. The NewsSearch results do not come with lat/lng values,  
> > and I don't know how you could guarantee that you would be able to  
> > find a lat/lng pair, even if you ran a search against the result  
> > title, publisher, and snippet.
>
> > 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://jgee...
> > 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 Nov 6, 2009, at 2:36 PM, Ashwani wrote:
>
> > > Hi All,
> > > I read that the LocalSearch results can be integrated with Maps API,
> > > is there any way to integrate NewsSearch results with Map?
>
> > > Regards,
> > > Ashwani- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -

Ashwani

unread,
Nov 7, 2009, 7:41:19 PM11/7/09
to Google AJAX APIs
Hi Group,

Is there any one who has done or doing this kind on integration?
Please can anyone help?

Regards,
Ashwani
Reply all
Reply to author
Forward
0 new messages