I need to capture the zoom event only when someone clicks on the zoom
control provided by Google maps (the sidebar with the arrows
control).
I don't have a link available but i can show some code snippets.

First snippet captures when i scroll zoom but doesn't capture clicking
on the zoom control
GEvent.addListener(mapE, "zoomstart", function() {
     var zoomendEvent = GEvent.addListener(mapE, "zoomend", function()
{
     var bounds= mapE.getBounds();
      __doPostBack('zoomedMap',bounds.toString())
    });
});

I tried the second snippet to capture the zoom control, but it dosen't
work.
  GEvent.addListener(mapE, \"zooming\", function() {
        var bounds= mapE.getBounds();
          alert('zooming');
   });

Any thoughts or suggestions?
Thanks in advance

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to