Hello All, I have a question regarding the implementation of "Store Locator" function. Many web sites have the store locator functionality, where user types in the address , select a distance ,click "Submit", displays all the stores within the specified distance.
1. Does Google Map has an API that accepts three parameters and return the closest location? Input parameters - The Address user typed in, List of Address with Latitude / Longitude information from the application database, and the distance. Result - The locations within the specified distance. 2. If Google API is not avialable, I would like to know the whether this is the efficient way to implement the functionality? Steps: A. Store in Application database all the store locations with Latitude / Longitude information. B. User types in an address, Use GClientGeocoder functions to convert the address to Latitude / Longitude information. C. Write a function to find the nearby Locations using Haversine formula Thanks, Malu --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
