I'm working from the code example given in:
http://code.google.com/apis/maps/documentation/javascript/examples/places-autocomplete.html
I've added a 'US' region to the script parameter:
<script type="text/javascript"
src="https://maps.googleapis.com/maps/api/js?&key=yadda&sensor=false®ion=US&libraries=places"></script>
and though I know that the region parameter is only a *suggestion* to the
geocoder, it still seems surprising (at least to my users) that entering
'313' in the text field initially suggests addresses in China. Is that the
expected behavior?
(FWIW, picking a LatLngBounds that encompasses the USA and passing that in
the bounds option to the places.Autocomplete() function doesn't make much
difference either.)
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-maps-js-api-v3/-/H95r1VFKN08J.
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.