> Is this possible, and if so are there any tutorials or examples? Yes. You should be able to pull it together from common examples.
First decide how you are going to define 'nearest'. (Postcode is an irregular area not a point) Nearest to the centroid? Nearest to the boundary? Are points inside 'near', or do you want to omit them? You suggest 'nearest set of markers'. Do you want the set with its 'average' the nearest of all sets, or the set with just one member nearer than other sets? Mostly these could be sorted out by combinations of the API method .getDistanceFrom() Distance from what ... presumably you need to look up the user supplied Postcode. The Google geocoder is not so good at UK Postcodes, search this group for more info - but there are alternative geocoders. 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 -~----------~----~----~----~------~----~------~--~---
