I would suggest passing a boundary to the geocoder in circumstances
when you want controlled results, i.e.
var southWest = new google.maps.LatLng(31.223231, -85.390489); //
Dothan, AL
var northEast = new google.maps.LatLng(34.3797125804622,
-71.7626953125); //Virginia Beach, VA
boundary = new google.maps.LatLngBounds(southWest, northEast);
if(geocoder) {
geocoder.geocode( { 'address': address, 'region': country, 'bounds':
boundary}, function(response, status) { //code } }
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.