On Aug 28, 12:44 pm, Martin™ <warwo...@gmail.com> wrote:

>
> I'm pretty sure that not all results contain a viewport bounds (but
> could be wrong!) so you'd have to test for it's presence and if
> present you can use that with the Map fitBounds() method to better pan
> and zoom your map.


geometry.viewport and geometry.bounds are different things.
geometry.viewport is always returned and recommended to be used with
fitBounds().

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to