This was resolved in the other group: http://groups.google.com/group/google-maps-api/browse_thread/thread/0b209a7c906c4521/4414ee31c836d827#4414ee31c836d827
On Aug 20, 1:20 pm, Trevor Powell <[email protected]> wrote: > I posted this in the v2 group but should have posted it in v3 (I am > using v3): > > I have a map with an overlay that appears on user interaction. When > the overlay appears, I am using panToBounds to ensure that the full > overlay is visible within the viewport. When the overlay appears, > panToBounds shifts the map to display the full overlay. The problem > is, if a user drags the map after that so that a portion of the > overlay is outside the viewport, the map will pan again to bring it > back into view. How do I cancel panToBounds after the first pan > behavior? I want the one-time panning behavior, but then I want the > map to be released from panning at that stage and allow the user to > freely drag it. I can't find this in the API documentation. If it's > there and someone can point me to it, I'd be grateful. -- 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.
