> I still wonder why geocoder got
> 'region' and 'bounds' are args for the geocoder, as both don't seem to
> actually work. I can't see any impact on the results.
The documentation does say these should only bias the results ; it
does specifically say it will not exclude results outside of the
expected area. I think it will just promote a result from within the
expected region whem there might be some equally likely looking match
from outside the region. If the "best" match is outside of the
region, it will still be the best match and be the first suggestion.
You'd have to do your own filtering for that, by bounds or by some bit
of text you'd like to see in the result.
I don't understand this difficulty. If the lat/long for "Buda,
Nigeria" is outside of your region of interest's bounds, you discard
it and don't use it.
You probably won't get "Budapest" as a possible match, since "Buda" is
a much better match. The geocoder is purposed to give you the best
match or matches to whatever user-generated garbage it is fed. It is
not purposed for autocomplete applications because that is something
different (the matching you need would not be for the 'whole thing'
but fof 'starting with'), and it isn't ever going to return the kind
of data you need.
This post might be of interest
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/7198aa6036cbcb91/14406a782853c6b5
It's rather likely to fall foul of the request rate limiting too?