I've got a perfectly lovely LatLngBounds object:
[bnds.getSouthWest().lat(), bnds.getSouthWest().lng(), 
bnds.getNorthEast().lat(), bnds.getNorthEast().lng()]
[32.98856751588048, -119.49260720804295, 34.78519808411952, 
-117.32831699195708]
but when I pass it to
autocomplete.setBounds(bnds);
I'm getting:
Uncaught Error: Invalid value for property <bounds>: ((32.98856751588048, 
-119.49260720804295), (34.78519808411952, -117.32831699195708))
Any idea why?  Or things I should look for?  (FWIW, when I don't call 
autocomplete.setBounds(), the autocomplete object is working just fine.)




-- 
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/-/M8fnnimc0jQJ.
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.

Reply via email to