(Scraping google map may be in violations of their term & services)

Google map provides a set of ajax API that allows systems to query its data programatically. However the search results from this API does not include the business url information. So what if your application needs this url information? Well, you have no choices but to bring back the good old screen scraping technique.

Rather than using the ajax API link, the easiest way is to just use the 'maps' link directly as shown below and scrape the returned html page for the business url.

http://maps.google.com/maps?q=Little+Sicily+Pizza+loc:26+Crooked+Ln,++King+Of+Prussia,+PA+19406&mrt=yp&view=text

This method can only be used in toy problems of course (as oppose to use in production systems).