• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

searching for business in google maps

 
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey,

anyone has any idea about the logic behind looking up businesses in google maps. if i say "pizza near 92109" in google maps, i put markers around the zipcode for pizza places. I was trying to do something same with range too. say " 25 miles with in the radius of zipcode" .. it is possible to find the distance between 2 zipcodes.. if i say " pizza near 25 miles of 92109" one option i can think of is finding all pizza location in my database and find the distance of the business from the specified zipcode and if it falls with in the radius, display it.. I didnt really like that idea that much.
other option would be add region for each business, find the region from the zipcode and search for matching business in the region..

I would love to hear more ideas or suggestions on the same.

Thanks for your time..


- Raj
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Distance between two zip codes: http://www.zipcodeworld.com/samples/distance.java.html
Or in PHP: http://www.micahcarrick.com/php-zip-code-range-and-distance-calculation.html

There are millions more examples in Google...
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic