¡@

Home 

javascript Programming Glossary: geometry.bounds

Google Maps API v3 - Geocoder results issue with bounds

http://stackoverflow.com/questions/9491114/google-maps-api-v3-geocoder-results-issue-with-bounds

apply when clicking on a result. Issue I can use the geometry.bounds object with fitBounds but some results you get using the geocoder.. some results you get using the geocoder do not have that geometry.bounds object. A quick example searching for Boston returns Boston.. ugly and it doesn't solve the zoom issue if results 0 .geometry.bounds map.fitBounds results 0 .geometry.bounds else map.setCenter..