On Jan 30, 6:44 pm, fearless_fool <[email protected]> wrote: > 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).
I have no explanation either (without a link to your map, I have less information than you do...) -- Larry > Am I missing something? -- 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.
