Re: [Google Maps API v3] Re: Using the places library without a map on the same page

2011-05-25 Thread Chris Broadfoot
On Thu, May 26, 2011 at 2:15 AM, Gary Little wrote: > Neat bindTo trick! No need to set up an event listener... Saved me > several lines of code. > Yeah, I should probably add this to the sample code :) -- http://twitter.com/broady -- You received this message because you are subscribed to t

[Google Maps API v3] Re: Using the places library without a map on the same page

2011-05-25 Thread Gary Little
Chris, Neat bindTo trick! No need to set up an event listener... Saved me several lines of code. Gary On May 25, 2:59 am, Chris Broadfoot wrote: > On Thu, May 19, 2011 at 7:07 AM, Johannes Schill > wrote: > > > are being included in the result. Maybe my default bounds are bad in > > my javascri

[Google Maps API v3] Re: Using the places library without a map on the same page

2011-05-25 Thread Thor Mitchell (Google Employee)
Hi Johannes, You can construct your own google.maps.LatLngBounds() object to pass in rather than obtaining one from the map: http://code.google.com/apis/maps/documentation/javascript/reference.html#LatLngBounds Without some form of bounds restrict you are unlikely to get any establishment pred

[Google Maps API v3] Re: Using the places library without a map on the same page

2011-05-19 Thread Spotvite
Hey there, question here How are you able to load Google places int he first places? I keep getting google.maps.places is undefined even when the libraries=places Just wondering -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" grou

[Google Maps API v3] Re: Using the places library without a map on the same page

2011-05-18 Thread Johannes Schill
Hi Thor! Thanks for your quick reply. To rephrase: we're using a map, but its not shown until the user clicks on a search result from the autocomplete feature. I'll double-check the terms. Isnt it possible to manually feed the Autocomplete with manually set bounds instead of the map.getBounds()?

[Google Maps API v3] Re: Using the places library without a map on the same page

2011-05-18 Thread Thor Mitchell (Google Employee)
Hi Johannes, As part of the Maps API, the Places library is covered by the Maps API Terms of Service, which does require it be used in conjunction with a map. This does not mean you must always pass in a map bounds when using Autocomplete, but it does mean that your app must use a map in some w