Thanks Ross for the quick reply. yes i'm searching in a database where i have all my zipcodes stored there with the appropriate coordinates. in my old project i used the well known formula to calculate the distance between 2 coordinates and get the closest 10 locations to the zipcode entered by the user. no i have to search for these locations within a specific area and if i did not get the result i wants then i need to extend my search according to the requirement i mentioned in my first post. do you have any examples for me that can help me?
thanks again. On Aug 15, 11:42 pm, Rossko <[email protected]> wrote: > > 1- be able to search for the closest location to a specific zipcode. > > 2- the search should be within 10 km. > > 3- if the results are less then 2 results then i would like to extend > > the search till including at least 2 locations. > > 4- if the results is less then 8 results then extend the search till > > reach 8 results. > > i do not know if this is possible or not and i need to gather all the > > technical aspect how to attack these issues. > > All possible, none of it seems to be specific to the maps API at all > (except perhaps geocoding a zipcode). > > All the search details depend entirely on what you're searching, > presumably your own unspecified database? > > cheers, Ross K --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
