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.)