There are a few possibilities here. First, if you're wanting the user to be able to specify the location, you can run address information through the LocalSearch API and get a lat/lng pair back. Alternatively, if you're just looking for an approximation of where the user is, you can just access the google.loader.ClientLocation property. And finally, if you want a fairly accurate geocode of the user without the interaction, you can use Google Gears.
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 [email protected] 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 ! On Mar 24, 2009, at 2:04 AM, webmaster wrote: > > Hi Jeremy, > > I managed to insert it as an 'iframe'. I think that iframe does the > job. > > The last thing I would like to ask you is how I can generate geocodes > based on the input from the users (typically address, city, nation,) > on the fly (in batch mode?) > > I would like to generate the goecodes and then save them on the mysql > database for further interaction through php. > > > On 24/03/2009, at 04.23, Jeremy Geerdes wrote: > >> >> It's tough to say without knowing exactly what you're trying to do. >> Could you provide a link to the page where you're trying to put this? >> >> 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 >> [email protected] >> >> 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 >> ! >> >> >> On Mar 23, 2009, at 10:15 PM, Phil wrote: >> >>> >>> Dear Experts, >>> I have managed to get the Google News Gadget to show up news stories >>> about a very obscure topic: "Basic Income" as an anti-poverty >>> program. >>> >>> I am very happy with the selection of the news stories. I am >>> getting >>> exactly what I want to appear. However the title of the News Gadget >>> is the search string itself which is an ugly piece of text: "Basic >>> Income| Citizen's Income" etc. etc. >>> >>> Can I supply a string that will show up as the Title of the News >>> Gadget? >>> Sincerely, >>> Philip Truscott >>> >>>> >> >> >>> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-AJAX-Search-API?hl=en -~----------~----~----~----~------~----~------~--~---
