You may have misinterpreted my post.  I typed the following into the 
console to inspect the contents of 'bnds':

[bnds.getSouthWest().lat(), bnds.getSouthWest().lng(), 
bnds.getNorthEast().lat(), bnds.getNorthEast().lng()]

and it responded (as I expected) with an array of four floats:

=> [32.98856751588048, -119.49260720804295, 34.78519808411952, 
-117.32831699195708]

>From this, I concluded that the bnds object itself appears to be a 
perfectly valid (and lovely) LatLngBounds object.  I'm at a loss as to why 
the error message printed it as:

((lat0, lng0), (lat1, lng1))

...but I have no explanation as to how bnds could have been modified 
between printing it out and being passed to autocomplete.setBounds(bnds). 
 Am I missing something?

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