> This results in the error "Uncaught TypeError: Cannot call method > 'getNorthEast' of undefined". What am I doing wrong here? Should I > follow a different strategy to achieve what I want?
It's probably a variable scope error, not enough context to tell. http://groups.google.com/group/google-maps-js-api-v3/t/2b3f101fd509919e The business with 'newBounds' wouldn't do anything useful anyway, no infowindow has changed anything yet. You'd need to delay that until after the infowindow action has finished panning, if it does. You might like to to think about whether your users will be more familiar with, or would prefer, a map that moves to accomodate an infowindow or a map that zooms unexpectedly. -- 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...@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.