I have 20 ATM position in a city. The user will choose the start point by the zip code,Google map will show the the route to the nearest ATM.
now, I could calculate (by the getDistance method) user's zip code postion to each ATM one by one, that means loop 20times, then choose the nearest, but it too slowly and inefficient. Is there have a better solution for my requirement? thanks a lot ! Lili --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
