Perfect.thanks... -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of warden [Andrew Leach - Maps API Guru] Sent: 2009-01-20 8:24 AM To: Google Maps API Subject: Re: Lock map / prevent panning
On Jan 20, 2:03 pm, <[email protected]> wrote: > I want to create a time loop with tile overlays. > > However, I want to temporarily "lock" the map while its in "loop" mode, to > prevent the user from panning/scrolling/zooming, until the user clicks "exit > loop mode." > > Whats the best way to achieve a temporary lock to prevent changes to the map > bounds/zoom? map.disableDragging(); map.disableDoubleClickZoom(); map.disableScrollWheelZoom(); and remove (or don't add) a zoom/pan control. Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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-API?hl=en -~----------~----~----~----~------~----~------~--~---
