Re: [Google Maps API v3] Re: How to zoom to a specific LatLng, without re-centering

2011-10-16 Thread Jeremy Geerdes
You could certainly do it programmatically. That's how it's done with the scrollwheel, and though I never used the v2 zoomIn method as described, it would be how it was done there, too. Basically, you would need to take the LatLng you're wanting to zoom around and calculate a new center point ba

[Google Maps API v3] Re: How to zoom to a specific LatLng, without re-centering

2011-10-16 Thread pinksy
Thanks Joseph. Is there any way of doing it without the scrollwheel? The zoom option from the context menu in http://maps.google.com/ does it without a scrollwheel. Ideally I want to be able to specify a LatLng point programmatically, and call a zoom function to zoom about that point. I noticed

[Google Maps API v3] Re: How to zoom to a specific LatLng, without re-centering

2011-10-15 Thread Joseph Elfelt
In your map options, include: scrollwheel: true, Then you can point to any spot and zoom in/out on that spot with the mousewheel. The spot under your cursor stays at the same location on your screen. -- You received this message because you are subscribed to the Google Groups "Google Maps Ja