> I have a map with 3 locations plotted in it. > I would like a user to type in their location or postcode. > Then I would like the nearest plotted location to display OR for Google to > list my locations in order of distance from the users typed location.
Sure. You have the lat/longs of your three locations. Use geocoding to get the user-supplied lat/long. Calculate the three geometric distances. Write code to sort by distance, etc. Bear in mind a postcode doesn't have an exact location always, representing an area, so there will be some approximation. -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
