On 16 abr, 11:32, Andrew Leach <[email protected]> wrote: > On Apr 16, 9:09 am,Domenec<[email protected]> wrote:
> > Now the question is whether there is an API query for finding > > localities around a point or inside a rectangle, any answer is > > appreciated. > The Google Maps API does not include anything for this. It's a single- > answer API -- provide an address (or partial address) and it will > return a single point or a collection of possible matches; provide a > geographic coordinate and it will provide the nearest address it can. > There is no method of "getClosestLocalities" or something similar. > However, it's possible to implement it yourself using the geonames > data. You're right, thanks. At the end I did a proof of concept that mixes Google Maps and a simulation of an Ajax call delivering GeoNames data... -- 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.
